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 /FL/Fl_Browser.H | |
| parent | 9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (diff) | |
wip
Diffstat (limited to 'FL/Fl_Browser.H')
| -rw-r--r-- | FL/Fl_Browser.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H index ef5064171..7da8a7219 100644 --- a/FL/Fl_Browser.H +++ b/FL/Fl_Browser.H @@ -73,7 +73,8 @@ struct FL_BLINE; Some common coding patterns used for working with Fl_Browser: \code // How to loop through all the items in the browser - for ( int t=1; t<=browser->size(); t++ ) { // index 1 based..! + int t; + for (t =1; t<=browser->size(); t++ ) { // index 1 based..! printf("item #%d, label='%s'\n", t, browser->text(t)); } \endcode |
