From da2fe3293c3fa9e30eb6bb24fe710c5c2d73f08a Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 2 Oct 2009 15:06:14 +0000 Subject: [PATCH] (svn r17681) -Fix [FS#3248] (r17668): crash when the caption of the query window used parameters --- src/misc_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index ada8f7227f..0ba65a92e4 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;