From 079482f0a214ee12b17b2728fa0cbaec4d752544 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 5 Dec 2007 16:55:33 +0000 Subject: [PATCH] (svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places --- src/station_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 4960e5898d..23d0170193 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); } }