diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-01-10 21:53:34 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-01-10 21:53:34 +0000 |
| commit | 923f9fe353418b18c7fea91b725f3ab602d212e2 (patch) | |
| tree | 02316c835d911183b56025fbd6e04e0e2981ef04 /src | |
| parent | 17fec4d9a6bbf599a06e3183a7b657390b582201 (diff) | |
STR #1854: fixed win32 issue with possible NULL pointer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 { |
