From 13005b2a3f0f16579522523460a82dca48e855a4 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 4 May 2003 21:45:46 +0000 Subject: Fl_File_Browser incorrectly included "." on WIN32 (STR #9) Include shellapi.h instead of ShellAPI.h in the WIN32 drag-n-drop code in order to work with the MingW cross compiler (STR #6) The cursor was not properly restored when doing drag-n-drop on X11 (STR #4) Fl::remove_fd() didn't recalculate the highest file descriptor properly (STR #20) Fl_Preferences::deleteGroup() didn't work properly (STR #13) Fixed the fl_show_file_selector() function - it was copying using the wrong string size (STR #14) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Preferences.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Preferences.cxx') diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index 6f1d6295f..54cbbb804 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Preferences.cxx,v 1.1.2.24 2003/01/30 21:42:30 easysw Exp $" +// "$Id: Fl_Preferences.cxx,v 1.1.2.25 2003/05/04 21:45:46 easysw Exp $" // // Preferences methods for the Fast Light Tool Kit (FLTK). // @@ -1097,7 +1097,7 @@ char Fl_Preferences::Node::remove() if ( parent_ ) { nd = parent_->child_; np = 0L; - for ( ; nd; nd = nd->next_ ) + for ( ; nd; np = nd, nd = nd->next_ ) { if ( nd == this ) { @@ -1116,5 +1116,5 @@ char Fl_Preferences::Node::remove() // -// End of "$Id: Fl_Preferences.cxx,v 1.1.2.24 2003/01/30 21:42:30 easysw Exp $". +// End of "$Id: Fl_Preferences.cxx,v 1.1.2.25 2003/05/04 21:45:46 easysw Exp $". // -- cgit v1.2.3