(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted.

This commit is contained in:
rubidium 2008-03-22 16:23:47 +00:00
parent 389d89ea49
commit 4094e9b495
1 changed files with 1 additions and 1 deletions

View File

@ -953,7 +953,7 @@ static void StationViewWndProc(Window *w, WindowEvent *e)
case WE_DESTROY: {
WindowNumber wno =
(w->window_number << 16) | GetStation(w->window_number)->owner;
(w->window_number << 16) | VLW_STATION_LIST | GetStation(w->window_number)->owner;
DeleteWindowById(WC_TRAINS_LIST, wno);
DeleteWindowById(WC_ROADVEH_LIST, wno);