summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2007-12-05 16:55:33 +0000
committersmatz <smatz@openttd.org>2007-12-05 16:55:33 +0000
commit079482f0a214ee12b17b2728fa0cbaec4d752544 (patch)
tree33d95500bd93fe197ef8a86149bb0fe47d90f892 /src
parentc65c14f06b9d24622c4894b7adc8b4623378bec6 (diff)
downloadopenttd-079482f0a214ee12b17b2728fa0cbaec4d752544.tar.xz
(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 4960e5898..23d017019 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -662,7 +662,7 @@ static void UpdateStationAcceptance(Station *st, bool show_msg)
}
/* 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 @@ static void UpdateStationRating(Station *st)
if (waiting_changed) {
InvalidateWindow(WC_STATION_VIEW, index);
} else {
- InvalidateWindowWidget(WC_STATION_VIEW, index, 5);
+ InvalidateWindowWidget(WC_STATION_VIEW, index, 6);
}
}