diff options
author | rubidium <rubidium@openttd.org> | 2009-09-30 21:00:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-30 21:00:35 +0000 |
commit | 00324050930287e25d9a616f12cdf1421c3445e7 (patch) | |
tree | 9b463f5f1c52a367a2b364754d8697ff149145eb /src/main_gui.cpp | |
parent | 2fa312aab9f7bcad6689f9da9dc92b0b096b0247 (diff) | |
download | openttd-00324050930287e25d9a616f12cdf1421c3445e7.tar.xz |
(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 147a521ae..83a84fee2 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -166,9 +166,8 @@ bool DoZoomInOutWindow(int how, Window *w) vp->virtual_left = w->viewport->scrollpos_x; vp->virtual_top = w->viewport->scrollpos_y; } - w->SetDirty(); /* Update the windows that have zoom-buttons to perhaps disable their buttons */ - InvalidateThisWindowData(w); + w->InvalidateData(); return true; } |