From 3a117a899c6abb192f2498e88cc30997ad5763c2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 24 May 2002 14:19:19 +0000 Subject: 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 --- src/Fl_Help_View.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Fl_Help_View.cxx') 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 $". // -- cgit v1.2.3