summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-16 17:01:25 +0000
committerrubidium <rubidium@openttd.org>2009-11-16 17:01:25 +0000
commit179b924173e250de707102f319da03d609c482b4 (patch)
tree7783a4f0f982a880d4b6c3ceec69409568cb5c79
parente7dd53dffcde2d42e99036b7ec4bba3d01e018f9 (diff)
downloadopenttd-179b924173e250de707102f319da03d609c482b4.tar.xz
(svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new window
-rw-r--r--src/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 34a6b2bcd..09b0e9150 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -519,6 +519,7 @@ void Window::ReInit(int rx, int ry)
ResizeWindow(this, dx, dy);
this->OnResize();
+ this->SetDirty();
}
/** Find the Window whose parent pointer points to this window