summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-01-08 22:38:59 +0000
committerplanetmaker <planetmaker@openttd.org>2013-01-08 22:38:59 +0000
commit89a2ba2a6d25e605c391e7343ba66090ee9f26de (patch)
tree22f0ab8c512fc007e98f3204cae65525e4d8e8c9 /src/settings.cpp
parentfd8f5cff5d4d432c54e4cf7bf549a3355cf8725f (diff)
downloadopenttd-89a2ba2a6d25e605c391e7343ba66090ee9f26de.tar.xz
(svn r24899) -Fix [FS#5434]: Also the station build window needs redrawing when the station spread changes (based on patch by juanjo)
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index f75b0c614..b82cd3f7a 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -809,9 +809,10 @@ static bool InvalidateDetailsWindow(int32 p1)
return true;
}
-static bool InvalidateStationBuildWindow(int32 p1)
+static bool StationSpreadChanged(int32 p1)
{
InvalidateWindowData(WC_SELECT_STATION, 0);
+ InvalidateWindowData(WC_BUILD_STATION, 0);
return true;
}