Resolution in gfx2.ini is now default.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@248 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2008-10-13 21:23:43 +00:00
parent 47c1db98ce
commit 403159f9a3

View File

@ -925,7 +925,8 @@ int Conversion_argument_mode(const char *Argument)
// Je suis paresseux alors je vais juste tester les libellés // Je suis paresseux alors je vais juste tester les libellés
int Indice_mode; int Indice_mode;
for (Indice_mode=0; Indice_mode<Nb_modes_video; Indice_mode++) for (Indice_mode=0; Indice_mode<Nb_modes_video; Indice_mode++)
if (!strcmp(Libelle_mode(Indice_mode), Argument)) // Attention les vieilles fonctions de lecture .ini mettent tout en MAJUSCULE.
if (!strcasecmp(Libelle_mode(Indice_mode), Argument))
return Indice_mode; return Indice_mode;
return -1; return -1;