diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-06-02 14:53:36 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-06-24 19:58:33 +0200 |
| commit | c12408b53fce13bc0138acfa3ad00aeabc214ba5 (patch) | |
| tree | aa4db4a344256b2765c0a09c6706f2dc060616b8 /src/drivers | |
| parent | 930013638bfc5d7765ca1bf2b680640d79bec2da (diff) | |
Avoid crash in Fl::next_window(win)
As documented, Fl::next_window(win) must only be called with a valid
*shown* window. The old code would crash if the argument was NULL
or the window was not shown.
The new code avoids the crash, issues an error message, and returns
NULL to the caller.
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions
