From 52ae3582a2c7bb437df33c0a30bfd5a01d6c5282 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 9 Feb 2018 14:39:42 +0000 Subject: Replace "WIN32" with "_WIN32" or "Windows". Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/forms_fselect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/forms_fselect.cxx') diff --git a/src/forms_fselect.cxx b/src/forms_fselect.cxx index 2b89b3cd6..6b9f0d713 100644 --- a/src/forms_fselect.cxx +++ b/src/forms_fselect.cxx @@ -32,7 +32,7 @@ char* fl_show_file_selector(const char *message,const char *dir, if (fname && fname[0]) strlcpy(fl_filename,fname,sizeof(fl_filename)); char *p = fl_directory+strlen(fl_directory); if (p > fl_directory && *(p-1)!='/' -#ifdef WIN32 +#ifdef _WIN32 && *(p-1)!='\\' && *(p-1)!=':' #endif ) *p++ = '/'; -- cgit v1.2.3