diff options
author | rubidium <rubidium@openttd.org> | 2009-10-02 15:06:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-02 15:06:14 +0000 |
commit | 9c6157c578a63db38f8dd544abb0f16cd058111b (patch) | |
tree | b646b3e3a44c88c1bd58b9997f2d4b1390c14b40 /src | |
parent | 6cd143ea7bdeb450591e6f53302ef6d8cfb2ff51 (diff) | |
download | openttd-9c6157c578a63db38f8dd544abb0f16cd058111b.tar.xz |
(svn r17681) -Fix [FS#3248] (r17668): crash when the caption of the query window used parameters
Diffstat (limited to 'src')
-rw-r--r-- | src/misc_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index ada8f7227..0ba65a92e 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1461,6 +1461,7 @@ struct QueryWindow : public Window { { switch (widget) { case QUERY_WIDGET_CAPTION: + CopyInDParam(1, this->params, lengthof(this->params)); SetDParam(0, this->caption); break; |