Mac font enumeration bug fix

master
Allen Webster 2017-11-17 18:09:23 -05:00
parent 645a6f6c40
commit 15d6ccf27f
1 changed files with 4 additions and 0 deletions

View File

@ -344,6 +344,10 @@ osx_get_loadable_fonts(Partition *part, Font_Setup_List *list){
char *name = fonts.names[i];
char *path = fonts.paths[i];
if (name == 0 || path == 0){
continue;
}
Temp_Memory reset= begin_temp_memory(part);
Font_Setup *setup = push_array(part, Font_Setup, 1);