From 91aa5847ba00e27c3f7b94068960daff0c930110 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 13 Jun 2002 18:18:33 +0000 Subject: Bug fixes from Sebastien. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_File_Chooser2.cxx') diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index 10e56c960..a94314fe5 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.15 2002/06/07 15:06:32 easysw Exp $" +// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.16 2002/06/13 18:18:33 easysw Exp $" // // More Fl_File_Chooser routines. // @@ -864,7 +864,7 @@ Fl_File_Chooser::update_preview() oldimage = (Fl_Shared_Image *)previewBox->image(); - if (oldimage) while (oldimage->refcount()) oldimage->release(); + if (oldimage) oldimage->release(); previewBox->image(0); @@ -1103,5 +1103,5 @@ unquote_pathname(char *dst, // O - Destination string // -// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.15 2002/06/07 15:06:32 easysw Exp $". +// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.16 2002/06/13 18:18:33 easysw Exp $". // -- cgit v1.2.3