diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 18:12:40 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 18:12:40 +0500 |
| commit | b4995f979d127cea667b4e2b71c91e9db4ab52ef (patch) | |
| tree | fbebc775e10932bace8d6a7c3481b1ba200c64db /src/Fl_Native_File_Chooser.cxx | |
| parent | 9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (diff) | |
wip
Diffstat (limited to 'src/Fl_Native_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Native_File_Chooser.cxx b/src/Fl_Native_File_Chooser.cxx index 2cafb019b..c5761f8c3 100644 --- a/src/Fl_Native_File_Chooser.cxx +++ b/src/Fl_Native_File_Chooser.cxx @@ -75,7 +75,8 @@ int Fl_Native_File_Chooser::options() const { \code if ( fnfc->show() == 0 ) { // Print all filenames user selected - for (int n=0; n<fnfc->count(); n++ ) { + int n; + for (n =0; n<fnfc->count(); n++ ) { printf("%d) '%s'\n", n, fnfc->filename(n)); } } @@ -103,7 +104,8 @@ const char *Fl_Native_File_Chooser::filename() const { \code if ( fnfc->show() == 0 ) { // Print all filenames user selected - for (int n=0; n<fnfc->count(); n++ ) { + int n; + for (n =0; n<fnfc->count(); n++ ) { printf("%d) '%s'\n", n, fnfc->filename(n)); } } |
