(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
authorsmatz
Wed, 05 Dec 2007 16:55:33 +0000
changeset 8015 1144c1044b27
parent 8014 4a732fc3aade
child 8016 1c7062ad5f50
(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
src/station_cmd.cpp
--- a/src/station_cmd.cpp	Wed Dec 05 00:16:20 2007 +0000
+++ b/src/station_cmd.cpp	Wed Dec 05 16:55:33 2007 +0000
@@ -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);
 	}
 }