changeset 8015:7ce9b4fdf0dc draft

(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
author smatz <smatz@openttd.org>
date Wed, 05 Dec 2007 16:55:33 +0000
parents 0e403555b034
children f60addd19e1a
files src/station_cmd.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -662,7 +662,7 @@
 	}
 
 	/* redraw the station view since acceptance changed */
-	InvalidateWindowWidget(WC_STATION_VIEW, st->index, 4);
+	InvalidateWindowWidget(WC_STATION_VIEW, st->index, 5);
 }
 
 static void UpdateStationSignCoord(Station *st)
@@ -2535,7 +2535,7 @@
 	if (waiting_changed) {
 		InvalidateWindow(WC_STATION_VIEW, index);
 	} else {
-		InvalidateWindowWidget(WC_STATION_VIEW, index, 5);
+		InvalidateWindowWidget(WC_STATION_VIEW, index, 6);
 	}
 }