When gfx2.ini is missing, default values are now taken from gfx2.dat.

Removed a custom toupper() function.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@174 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-09-27 20:17:00 +00:00
parent 7197a98fe3
commit 48fca5ceb3
9 changed files with 699 additions and 710 deletions

3
main.c
View File

@@ -170,10 +170,9 @@ void Erreur(int Code)
break;
case ERREUR_REPERTOIRE_DISPARU : printf("Error: Directory you ran the program from not found!\n");
break;
case ERREUR_INI_ABSENT : printf("Error: File GFX2.INI is missing!\n");
break;
case ERREUR_INI_CORROMPU : printf("Error: File GFX2.INI is corrupt!\n");
printf("It contains bad values at line %d.\n",Ligne_INI);
printf("You can re-generate it by deleting the file and running grafX2 again.\n");
break;
case ERREUR_SAUVEGARDE_INI : printf("Error: Cannot rewrite file GFX2.INI!\n");
break;