summaryrefslogtreecommitdiff
path: root/src/window_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-02 20:59:04 +0000
committerrubidium <rubidium@openttd.org>2009-01-02 20:59:04 +0000
commitb3f2f40db7ffe7ff0b89a77d232b32302a38cd8c (patch)
tree12aa6dc7cf0075753009d46f0a0d94eee8def600 /src/window_func.h
parentbde4b6020a001b78052fce910867ce07c8656f76 (diff)
downloadopenttd-b3f2f40db7ffe7ff0b89a77d232b32302a38cd8c.tar.xz
(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
Diffstat (limited to 'src/window_func.h')
-rw-r--r--src/window_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_func.h b/src/window_func.h
index fb6b290e5..2e3767c97 100644
--- a/src/window_func.h
+++ b/src/window_func.h
@@ -35,7 +35,7 @@ void InvalidateWindowWidget(WindowClass cls, WindowNumber number, byte widget_in
void InvalidateWindow(WindowClass cls, WindowNumber number);
void InvalidateWindowClasses(WindowClass cls);
-void DeleteWindowById(WindowClass cls, WindowNumber number);
+void DeleteWindowById(WindowClass cls, WindowNumber number, bool force = true);
void DeleteWindowByClass(WindowClass cls);
#endif /* WINDOW_FUNC_H */