Skin graphics and font are now recorded & reloaded.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@891 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-06-29 00:28:58 +00:00
parent d4dcba62a6
commit 8b4533f105
6 changed files with 54 additions and 37 deletions

View File

@@ -816,10 +816,15 @@ int Load_INI(T_Config * conf)
// Optional, name of skin file. (>2.0)
if(!Load_INI_get_string(file,buffer,"Skin_file",value_label,1))
strcpy(conf->SkinFile,value_label);
conf->Skin_file = strdup(value_label);
else
strcpy(conf->SkinFile,"skin_modern.png");
conf->Skin_file = strdup("skin_modern.png");
// Optional, name of font file. (>2.0)
if(!Load_INI_get_string(file,buffer,"Font_file",value_label,1))
conf->Font_file = strdup(value_label);
else
conf->Font_file = strdup("font_Classic.png");
fclose(file);