changeset 19962:9be466605769 draft

(svn r24894) -Fix [FS#5434]: Invalidate station selection window when station spread changes (based on patch by juanjo)
author planetmaker <planetmaker@openttd.org>
date Tue, 08 Jan 2013 17:44:39 +0000
parents e8a0802c9c8d
children fff9137c7294
files src/settings.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -811,7 +811,7 @@
 
 static bool InvalidateStationBuildWindow(int32 p1)
 {
-	SetWindowDirty(WC_BUILD_STATION, 0);
+	InvalidateWindowData(WC_SELECT_STATION, 0);
 	return true;
 }