Skip to content
Snippets Groups Projects
Commit 63e0f621 authored by deuce's avatar deuce
Browse files

Fix user-defined font reversal on loading the fonts from the INI file.

Reported by Digital Man.
parent d9f149ea
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ struct font_files *read_font_files(int *count)
return(ret);
}
fonts=iniReadSectionList(inifile, "Font:");
while((fontid=strListPop(&fonts))!=NULL) {
while((fontid=strListRemove(&fonts, 0))!=NULL) {
if(!fontid[5]) {
free(fontid);
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment