Work on directory handling in save/load,

Mingw support for the config utility, with a larger font I made some time ago (I hoped the e' would work for Be'zier curves, but no)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@144 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-09-14 00:11:55 +00:00
parent 37ca8d13aa
commit 77f3c5763e
5 changed files with 21 additions and 8 deletions

View File

@@ -168,6 +168,10 @@ void Ajouter_element_a_la_liste(struct dirent* Enreg)
Element_temporaire->Type = (Enreg->d_type == DT_DIR);
#elif __WATCOMC__
Element_temporaire->Type = (Enreg->d_attr & _A_SUBDIR);
#else
struct stat Infos_enreg;
stat(Enreg->d_name,&Infos_enreg);
Element_temporaire->Type = S_ISDIR(Infos_enreg.st_mode);
#endif
Element_temporaire->Suivant =Liste_du_fileselect;