diff options
| author | Manolo Gouy <Manolo> | 2016-04-12 17:12:13 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-12 17:12:13 +0000 |
| commit | f3e7251871dfa6f4b0e47cfc2a66dbdac8f3d91f (patch) | |
| tree | b3f710cc30e5be160e28ea9e589aa4ec492b4a00 /src | |
| parent | 4ebdf97b70716df3ce467c474bd18cab0c60adb5 (diff) | |
Remove compilation warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_File_Chooser2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index df2428cfe..6d056f742 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -729,7 +729,7 @@ Fl_File_Chooser::fileListCB() Fl::system_driver()->filename_isdir_quick(pathname)) #else if (Fl::system_driver()->filename_isdir_quick(pathname)) -#endif /* WIN32 || __EMX__ */ +#endif / * WIN32 || __EMX__ */ int condition = 0; if (Fl::system_driver()->colon_is_drive() && strlen(pathname) == 2 && pathname[1] == ':') condition = 1; if (!condition) condition = Fl::system_driver()->filename_isdir_quick(pathname); @@ -847,7 +847,7 @@ Fl_File_Chooser::fileNameCB() !(isalpha(filename[0] & 255) && (!filename[1] || filename[1] == ':'))) { #else if (directory_[0] != '\0' && filename[0] != '/') { -#endif /* WIN32 || __EMX__ */ +#endif / * WIN32 || __EMX__ */ int condition = directory_[0] != '\0' && filename[0] != '/'; if (condition && Fl::system_driver()->colon_is_drive()) condition = !(isalpha(filename[0] & 255) && (!filename[1] || filename[1] == ':')); if (condition) { @@ -871,7 +871,7 @@ Fl_File_Chooser::fileNameCB() #else if (Fl::system_driver()->filename_isdir_quick(pathname) && compare_dirnames(pathname, directory_)) { -#endif /* WIN32 || __EMX__ */ +#endif / * WIN32 || __EMX__ */ int condition = 0; if (Fl::system_driver()->colon_is_drive()) condition = isalpha(pathname[0] & 255) && pathname[1] == ':' && !pathname[2]; if (!condition) condition = ( Fl::system_driver()->filename_isdir_quick(pathname) && compare_dirnames(pathname, directory_) ); @@ -1089,7 +1089,7 @@ Fl_File_Chooser::newdir() if (dir[0] != '/' && dir[0] != '\\' && dir[1] != ':') #else if (dir[0] != '/' && dir[0] != '\\') -#endif /* WIN32 || __EMX__ */ +#endif / * WIN32 || __EMX__ */ if (dir[0] != '/' && dir[0] != '\\' && (!Fl::system_driver()->colon_is_drive() || dir[1] != ':') ) snprintf(pathname, sizeof(pathname), "%s/%s", directory_, dir); else |
