Skip to content
Snippets Groups Projects
Commit c12408b5 authored by Albrecht Schlosser's avatar Albrecht Schlosser
Browse files

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.
parent 93001363
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment