Amiga systems use / and not .. for parent dir. Takes this into account...

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@498 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-01-20 18:33:50 +00:00
parent fec8d023e9
commit 0f2d642847
5 changed files with 31 additions and 10 deletions

2
io.c
View File

@@ -226,7 +226,7 @@ int Repertoire_existe(char * Repertoire)
{
DIR* Enreg; // Structure de lecture des éléments
if (strcmp(Repertoire,"..")==0)
if (strcmp(Repertoire,PARENT_DIR)==0)
return 1;
else
{