summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-09-15 16:29:40 +0000
committersmatz <smatz@openttd.org>2008-09-15 16:29:40 +0000
commitffa39caf3dd099f8fa69d9c25ff24885fd4ce44a (patch)
tree460dfbcf75a0eba53ff1d436c6670f771aeeb3fd /src/newgrf_gui.cpp
parentaa2c3bdd6f8cbde0a72195688c9d9b5026cea65d (diff)
downloadopenttd-ffa39caf3dd099f8fa69d9c25ff24885fd4ce44a.tar.xz
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}