New .INI setting to allow disable unicode (issue 167)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@814 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-05-22 19:02:23 +00:00
parent f4cb7985f2
commit 8f5fc2c923
5 changed files with 25 additions and 3 deletions

View File

@@ -798,7 +798,12 @@ int Load_INI(T_Config * conf)
conf->Window_pos_x = values[0];
conf->Window_pos_y = values[1];
}
// Optional, Unicode support on/off (>98.0%)
conf->Use_unicode=1;
if (!Load_INI_get_values (file,buffer,"Use_unicode",1,values))
{
conf->Use_unicode = (values[0]!=0);
}
fclose(file);