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