summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-01-08 17:44:39 +0000
committerplanetmaker <planetmaker@openttd.org>2013-01-08 17:44:39 +0000
commitf8e0b22974c4bb7376ea6c6029df92e889807a2a (patch)
treedb32ba12a1cbf1f170ad02f113cd2901f1431b39 /src/settings.cpp
parent4f04486e19d0fe4b2b37323949981361fa327974 (diff)
downloadopenttd-f8e0b22974c4bb7376ea6c6029df92e889807a2a.tar.xz
(svn r24894) -Fix [FS#5434]: Invalidate station selection window when station spread changes (based on patch by juanjo)
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 5a80b9bbd..f75b0c614 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -811,7 +811,7 @@ static bool InvalidateDetailsWindow(int32 p1)
static bool InvalidateStationBuildWindow(int32 p1)
{
- SetWindowDirty(WC_BUILD_STATION, 0);
+ InvalidateWindowData(WC_SELECT_STATION, 0);
return true;
}