Fixed fileselector on linux, displayed always hidden directories but never 'parent dir'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2006 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
f7d9cc1a90
commit
dc960c2f4e
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(fname, PARENT_DIR);
|
||||
return fname[0]=='.' && strcmp(fname, PARENT_DIR);
|
||||
#endif
|
||||
}
|
||||
// Taille de fichier, en octets
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user