summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_File_Chooser.fl1
-rw-r--r--src/Fl_File_Chooser2.cxx2
2 files changed, 1 insertions, 2 deletions
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);
...
}