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:
3
main.c
3
main.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user