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

@@ -523,7 +523,7 @@ int Load_INI(T_Config * conf)
if ((return_code=Load_INI_get_values (file,buffer,"Menu_ratio",1,values)))
goto Erreur_Retour;
if (values[0]>2)
if ((values[0]<-4) || (values[0]>2))
goto Erreur_ERREUR_INI_CORROMPU;
conf->Ratio=values[0];