summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-10 18:36:47 +0000
committerManolo Gouy <Manolo>2016-04-10 18:36:47 +0000
commit99b3c6813aa7ecf32696e6e83a52a39254f537e4 (patch)
tree10290591bb6882304b13fe1ba1a7ba2e31e48d2c /src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx
parentc3f1877fd111d9d708ef03470e6723d7ce2e24a1 (diff)
Rewrite Fl_File_Input.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx
index 529f9ade7..5b9676fdf 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_System_Driver.cxx
@@ -877,6 +877,13 @@ void Fl_WinAPI_System_Driver::png_extra_rgba_processing(unsigned char *ptr, int
}
}
+const char *Fl_WinAPI_System_Driver::next_dir_sep(const char *start)
+{
+ const char *p = strchr(start, '/');
+ if (!p) p = strchr(start, '\\');
+ return p;
+}
+
//
// End of "$Id$".
//