Issue 284:Made the UI zoomed by x2 maximum, by default (Menu_ratio = -2 in gfx2.ini). Fix issue 286.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1249 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-01-15 19:19:01 +00:00
parent e351605a24
commit 9cb3f7a70d
3 changed files with 13 additions and 7 deletions

View File

@@ -82,20 +82,21 @@ int Save_INI_reach_group(FILE * old_file,FILE * new_file,char * buffer,char * gr
int Save_INI_char_in_value_alphabet(char c)
{
if (
( // Chiffre
( // Digit
(c>='0') &&
(c<='9')
) ||
( // Lettre majuscule
( // Uppercase letter
(c>='A') &&
(c<='Z')
) ||
( // Lettre minuscule
( // Lowerchase letter
(c>='a') &&
(c<='z')
) ||
(c == '$') // Symbole d'hexadécimal
|| (c== '.') // Point (dans les noms de fichiers)
(c == '$') || // Hexa prefix
(c == '-') || // Minus sign
(c== '.') // Dot (in filenames)
)
return 1;
else