Fix compilation error on Linux, introduced by r1994 (issue 506)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2004 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
80fc7da7f6
commit
01690f7df1
2
src/io.c
2
src/io.c
@ -339,7 +339,7 @@ int File_is_hidden(const char *fname, const char *full_name)
|
||||
// On linux/unix (default), files are considered hidden if their name
|
||||
// begins with a .
|
||||
// As a special case, we'll consider 'parent directory' (..) never hidden.
|
||||
return fname[0]=='.' && !strcmp(entry->d_name, PARENT_DIR);
|
||||
return fname[0]=='.' && !strcmp(fname, PARENT_DIR);
|
||||
#endif
|
||||
}
|
||||
// Taille de fichier, en octets
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user