- [FIX] Arreglada la càrrega de fonts per a Windows i els seus dos caràcters de final de linea
This commit is contained in:
@@ -24,13 +24,11 @@ namespace font
|
|||||||
bool eof = false;
|
bool eof = false;
|
||||||
while (true) {
|
while (true) {
|
||||||
if (*p=='#') while (*p!=0 && *p!=10) p++;
|
if (*p=='#') while (*p!=0 && *p!=10) p++;
|
||||||
if (*p==0) break;
|
if (*p==0) break; while (*p==10 || *p==13) p++;
|
||||||
p++;
|
|
||||||
spaces[pos++] = (*p)-48;
|
spaces[pos++] = (*p)-48;
|
||||||
if (pos==127) break;
|
if (pos==127) break;
|
||||||
p++;
|
p++;
|
||||||
if (*p==0) break;
|
if (*p==0) break; while (*p==10 || *p==13) p++;
|
||||||
p++;
|
|
||||||
}
|
}
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user