From f7108760378c98077b1c664939d0e2c32a21624f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 10 May 2008 12:30:27 +0000 Subject: (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. --- src/smallmap_gui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 11d9f8435..966f85fe7 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1182,10 +1182,8 @@ static void ExtraViewPortWndProc(Window *w, WindowEvent *e) ZoomInOrOutToCursorWindow(e->we.wheel.wheel < 0, w); break; - - case WE_MESSAGE: + case WE_INVALIDATE_DATA: /* Only handle zoom message if intended for us (msg ZOOM_IN/ZOOM_OUT) */ - if (e->we.message.wparam != w->window_number) break; HandleZoomMessage(w, w->viewport, 5, 6); break; } -- cgit v1.2.3-54-g00ecf