(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted.
--- a/src/station_gui.cpp Sat Mar 22 11:29:03 2008 +0000
+++ b/src/station_gui.cpp Sat Mar 22 16:23:47 2008 +0000
@@ -953,7 +953,7 @@
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);