- [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;
|
||||
while (true) {
|
||||
if (*p=='#') while (*p!=0 && *p!=10) p++;
|
||||
if (*p==0) break;
|
||||
p++;
|
||||
if (*p==0) break; while (*p==10 || *p==13) p++;
|
||||
spaces[pos++] = (*p)-48;
|
||||
if (pos==127) break;
|
||||
p++;
|
||||
if (*p==0) break;
|
||||
p++;
|
||||
if (*p==0) break; while (*p==10 || *p==13) p++;
|
||||
}
|
||||
free(buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user