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

pull/155/head
smatz 17 years ago
parent fcfd0f1c76
commit 15a5a1a95b

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

Loading…
Cancel
Save