diff src/DLD-FUNCTIONS/__fltk_uigetfile__.cc @ 12466:67f98480b181

Use / for fltk path processing only
author Kai Habel <kai.habel@gmx.de>
date Mon, 21 Feb 2011 21:15:45 +0100
parents 6212f303243e
children 0f71b9639207
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__fltk_uigetfile__.cc	Mon Feb 21 21:02:28 2011 +0100
+++ b/src/DLD-FUNCTIONS/__fltk_uigetfile__.cc	Mon Feb 21 21:15:45 2011 +0100
@@ -92,7 +92,9 @@
     {
       int file_count = fc.count ();
       std::string fname;
-      std::string sep = file_ops::dir_sep_str ();
+
+      //fltk uses forward slash even for windows
+      std::string sep = "/";
       std::size_t idx;
 
       if (file_count == 1 && multi_type != Fl_File_Chooser::DIRECTORY)