From ffa39caf3dd099f8fa69d9c25ff24885fd4ce44a Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 15 Sep 2008 16:29:40 +0000 Subject: (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() --- src/newgrf_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 54e36fbc7..17863d78a 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -466,7 +466,7 @@ struct NewGRFWindow : public Window { case SNGRFS_PRESET_SAVE: this->query_widget = widget; - ShowQueryString(STR_EMPTY, STR_NEWGRF_PRESET_SAVE_QUERY, 32, 100, this, CS_ALPHANUMERAL); + ShowQueryString(STR_EMPTY, STR_NEWGRF_PRESET_SAVE_QUERY, 32, 100, this, CS_ALPHANUMERAL, QSF_NONE); break; case SNGRFS_PRESET_DELETE: @@ -575,7 +575,7 @@ struct NewGRFWindow : public Window { static char buff[512]; GRFBuildParamList(buff, this->sel, lastof(buff)); SetDParamStr(0, buff); - ShowQueryString(STR_JUST_RAW_STRING, STR_NEWGRF_PARAMETER_QUERY, 63, 250, this, CS_ALPHANUMERAL); + ShowQueryString(STR_JUST_RAW_STRING, STR_NEWGRF_PARAMETER_QUERY, 63, 250, this, CS_ALPHANUMERAL, QSF_NONE); break; } -- cgit v1.2.3-54-g00ecf