author | truelight |
Fri, 13 Jul 2007 15:02:22 +0000 | |
changeset 7248 | 16d259bc2ad0 |
parent 7247 | 9a054caa1ba4 |
child 7249 | 6c480d0dda20 |
src/main_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/main_gui.cpp Fri Jul 13 15:01:16 2007 +0000 +++ b/src/main_gui.cpp Fri Jul 13 15:02:22 2007 +0000 @@ -1700,7 +1700,7 @@ } case WE_MESSAGE: - HandleZoomMessage(w, FindWindowById(WC_MAIN_WINDOW, 0)->viewport, 17, 18); + if (FindWindowById(WC_MAIN_WINDOW, 0) != NULL) HandleZoomMessage(w, FindWindowById(WC_MAIN_WINDOW, 0)->viewport, 17, 18); break; } }