diff options
author | rubidium <rubidium@openttd.org> | 2008-05-10 12:30:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-10 12:30:27 +0000 |
commit | 935434333badb8376f9dde535ddc50c18e9af3aa (patch) | |
tree | a5bdbc9159ef2a9e4438fbff08ec11d3adba7744 /src/toolbar_gui.cpp | |
parent | f23026cce8fa49974e3dd06e00dd073cb45f906b (diff) | |
download | openttd-935434333badb8376f9dde535ddc50c18e9af3aa.tar.xz |
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 561fcaf82..8ed8db40c 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -796,7 +796,7 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e) } break; - case WE_MESSAGE: + case WE_INVALIDATE_DATA: if (FindWindowById(WC_MAIN_WINDOW, 0) != NULL) HandleZoomMessage(w, FindWindowById(WC_MAIN_WINDOW, 0)->viewport, 17, 18); break; } @@ -1032,7 +1032,7 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e) } break; - case WE_MESSAGE: + case WE_INVALIDATE_DATA: HandleZoomMessage(w, FindWindowById(WC_MAIN_WINDOW, 0)->viewport, 9, 10); break; } |