Allow to use a negative number as menu ratio. This will set it as the max allowed zoom for the GUI display. Fixes issue 101

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@949 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-07-22 15:48:23 +00:00
parent ff402b204b
commit 5a59dc4abb
3 changed files with 14 additions and 9 deletions

View File

@@ -519,7 +519,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]<0) || (values[0]>2))
if (values[0]>2)
goto Erreur_ERREUR_INI_CORROMPU;
conf->Ratio=values[0];