diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2019-01-25 17:39:20 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2019-01-25 17:40:51 +0100 |
| commit | 2c5ba944582a8101cd3fd7445814a2e50b4701bd (patch) | |
| tree | ee8f8dbe9fc9e5aab1aedee44cadafd4ba976cab /src/Fl_Help_View.cxx | |
| parent | 9b272cfa4e664b0a90540256edf030c43e4bfbb0 (diff) | |
Fix Fl_Tree::insert() with pos out ouf range (#18)
The given position to insert a new item was not checked against the
valid range so the program could crash if a position less than zero
or greater than children() was given. The position is now clamped to
the valid range, i.e. the item is either prepended or appended.
Fixes issue #18.
Diffstat (limited to 'src/Fl_Help_View.cxx')
0 files changed, 0 insertions, 0 deletions
