Code cleanup: Removed the code related to Save/Load window from buttons.c, transferred it to files.c. Files.h now only exposes this window's function.

Some code related to this window is still in loadsave.c (stuff for preview)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@695 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-03-26 19:41:33 +00:00
parent 994c1ce713
commit fa71dea18d
12 changed files with 1001 additions and 1058 deletions

3
main.c
View File

@@ -40,7 +40,6 @@
#include "boutons.h"
#include "moteur.h"
#include "pages.h"
#include "files.h"
#include "loadsave.h"
#include "sdlscreen.h"
#include "erreurs.h"
@@ -313,7 +312,7 @@ int Initialisation_du_programme(int argc,char * argv[])
Set_Config_Directory(Repertoire_du_programme,Repertoire_de_configuration);
// On détermine le répertoire courant:
Determiner_repertoire_courant();
getcwd(Principal_Repertoire_courant,256);
// On en profite pour le mémoriser dans le répertoire principal:
strcpy(Repertoire_initial,Principal_Repertoire_courant);