eolite: bugfixes and code clean

git-svn-id: svn://kolibrios.org@8868 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2021-06-17 09:29:39 +00:00
parent d4bf03befc
commit 41386908d7
11 changed files with 23 additions and 29 deletions

View File

@@ -158,11 +158,9 @@ void LoadIniSettings()
ini.GetString("DefaultPath", #path, 4096, "/rd/1");
ini.GetString("DefaultPath", #path_start, 4096, "/rd/1");
path_start_ed.size = path_start_ed.pos = strlen(#path_start);
ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font file",#temp,4096,DEFAULT_FONT);
kfont.init(#temp);
kfont.init(DEFAULT_FONT);
ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font smoothing",#temp,4096,"on");
if(!strcmp(#temp,"off")) kfont.smooth = false; else kfont.smooth = true;
if(streq(#temp,"off")) kfont.smooth = false; else kfont.smooth = true;
}