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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 17 years ago
parent c65c14f06b
commit 079482f0a2

@ -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