diff options
author | rubidium <rubidium@openttd.org> | 2009-10-31 14:53:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-31 14:53:19 +0000 |
commit | 86fd0c0bcefd51d4e173ea1287d0b447b2410bfe (patch) | |
tree | 6e31997d3f43852034efb2a56e3e43379c1bf69e /src/window_gui.h | |
parent | 617e7966f9efd260c02fa252aa106200eddefc7c (diff) | |
download | openttd-86fd0c0bcefd51d4e173ea1287d0b447b2410bfe.tar.xz |
(svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index c31f7ae62..4e574ec48 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -621,7 +621,7 @@ public: void DrawViewport() const; void DrawSortButtonState(int widget, SortButtonState state) const; - void DeleteChildWindows() const; + void DeleteChildWindows(WindowClass wc = WC_INVALID) const; void SetDirty() const; void ReInit(); |