diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 27a14edc7..23b90e1fc 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1122,7 +1122,7 @@ void Fl_Window::resize(int X,int Y,int W,int H) { redraw(); // only wait for exposure if this window has a size - a window // with no width or height will never get an exposure event - if (W>0 && H>0) + if (i && W>0 && H>0) i->wait_for_expose = 1; } } else { |
