diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-10-18 09:16:55 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-10-18 09:16:55 +0000 |
| commit | cf296e05655e1282cbf5a9bc5bfdfd2f4480e662 (patch) | |
| tree | 8ecb31fd963564fbc8b72c5267219f5357177977 /fluid/code.cxx | |
| parent | 57067a923d7f85f847cf3c0aab081f86745f585f (diff) | |
STR #unfiled: when using Fl_Menu_::add, the 'flags' field of the last entry in a newly allocated local buffer would not be cleared. If the flag happened to be FL_SUBMENU, this would lead to crash in 'find_item'. The new code clears the entire field.
And yes, this has cost me a few hours :-P
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/code.cxx')
0 files changed, 0 insertions, 0 deletions
