matching font systems
This commit is contained in:
parent
a4ba194853
commit
e41ab45230
|
@ -115,12 +115,9 @@ Sys_Font_Init_Sig(system_font_init){
|
||||||
u32 dir_len = system_get_binary_path(&dir_str);
|
u32 dir_len = system_get_binary_path(&dir_str);
|
||||||
Assert(dir_len < dir_max);
|
Assert(dir_len < dir_max);
|
||||||
|
|
||||||
{
|
set_last_folder_sc(&dir_str, "fonts", '/');
|
||||||
String dir_str = make_string_cap(directory, dir_len, dir_max);
|
terminate_with_null(&dir_str);
|
||||||
set_last_folder_sc(&dir_str, "fonts", '/');
|
dir_len = dir_str.size;
|
||||||
terminate_with_null(&dir_str);
|
|
||||||
dir_len = dir_str.size;
|
|
||||||
}
|
|
||||||
|
|
||||||
partition_reduce(scratch, dir_max - dir_len - 1);
|
partition_reduce(scratch, dir_max - dir_len - 1);
|
||||||
partition_align(scratch, 8);
|
partition_align(scratch, 8);
|
||||||
|
|
Loading…
Reference in New Issue