(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places

This commit is contained in:
smatz 2007-12-05 16:55:33 +00:00
parent fcfd0f1c76
commit 15a5a1a95b

View File

@ -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);
}
}