Save/Load: (windows) Options "Show hidden files" and "Show hidden dirs" now work.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@165 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
51a4b91b91
commit
7f67d41f86
4
files.c
4
files.c
@ -24,8 +24,8 @@
|
||||
#define isHidden(Enreg) ((Enreg)->d_attr & _A_HIDDEN)
|
||||
#elif defined(__MINGW32__)
|
||||
#include <dirent.h>
|
||||
/* TODO: trouver une méthode portable pour déterminer si un fichier est caché */
|
||||
#define isHidden(Enreg) (0)
|
||||
#include <windows.h>
|
||||
#define isHidden(Enreg) (GetFileAttributesA((Enreg)->d_name)&FILE_ATTRIBUTE_HIDDEN)
|
||||
#endif
|
||||
|
||||
#define COULEUR_FICHIER_NORMAL CM_Clair // Couleur du texte pour une ligne de fichier non sélectionné
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user