summaryrefslogtreecommitdiff
path: root/src/Fl_Help_View.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-05-24 14:19:19 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-05-24 14:19:19 +0000
commit3a117a899c6abb192f2498e88cc30997ad5763c2 (patch)
treeb86fdbec53783e7f239197935ab3b085f286128c /src/Fl_Help_View.cxx
parent262321f5e61bb801b6e169e697d9a716cfb0c439 (diff)
Get rid of as many compiler warnings as possible.
Add missing offbits seek when reading BMP files. Add -OPT:Olimit=4000 to SGI compiler options (for keyboard_ui) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Help_View.cxx')
-rw-r--r--src/Fl_Help_View.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index bda620360..b6d3834b7 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Help_View.cxx,v 1.1.2.32 2002/05/21 11:14:57 easysw Exp $"
+// "$Id: Fl_Help_View.cxx,v 1.1.2.33 2002/05/24 14:19:19 easysw Exp $"
//
// Fl_Help_View widget routines.
//
@@ -2283,6 +2283,8 @@ Fl_Help_View::load(const char *f)// I - Filename to load (may also have target)
strcpy(filename_, f);
strcpy(directory_, filename_);
+ // Note: We do not support Windows backslashes, since they are illegal
+ // in URLs...
if ((slash = strrchr(directory_, '/')) == NULL)
directory_[0] = '\0';
else if (slash > directory_ && slash[-1] != '/')
@@ -2623,5 +2625,5 @@ hscrollbar_callback(Fl_Widget *s, void *)
//
-// End of "$Id: Fl_Help_View.cxx,v 1.1.2.32 2002/05/21 11:14:57 easysw Exp $".
+// End of "$Id: Fl_Help_View.cxx,v 1.1.2.33 2002/05/24 14:19:19 easysw Exp $".
//