diff options
| -rw-r--r-- | FL/Fl_File_Chooser.H | 1 | ||||
| -rw-r--r-- | src/Fl_File_Chooser.fl | 1 | ||||
| -rw-r--r-- | src/Fl_File_Chooser2.cxx | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index 9f434cdb3..af1d86fac 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -220,7 +220,6 @@ public: static Fl_File_Sort_F *sort; private: Fl_Widget* ext_group; - bool ext_managed; public: Fl_Widget* add_extra(Fl_Widget* gr); }; diff --git a/src/Fl_File_Chooser.fl b/src/Fl_File_Chooser.fl index 91451d9d2..0b0ae7b86 100644 --- a/src/Fl_File_Chooser.fl +++ b/src/Fl_File_Chooser.fl @@ -423,7 +423,6 @@ else the contents of a directory.} public } decl {Fl_Widget* ext_group;} {} - decl {bool ext_managed;} {} Function {add_extra(Fl_Widget* gr)} {open return_type {Fl_Widget*} } { code {Fl_Widget* ret=ext_group;} {} diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index 8c52ddc3b..76314f4f5 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -270,7 +270,7 @@ This sample code loops through all selected files: \code // Get list of filenames user selected from a MULTI chooser - for ( int t=1; t>=chooser->count(); t++ ) { + for ( int t=1; t<=chooser->count(); t++ ) { const char *filename = chooser->value(t); ... } |
