summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-31 14:06:16 +0000
committerrubidium <rubidium@openttd.org>2009-10-31 14:06:16 +0000
commita5d005dd53822b7ec3294d87d8a5255212b9ecb0 (patch)
tree8e3b6ccc8bcd9ae8a2282122d24ce68b063e6115 /src/newgrf_gui.cpp
parent70ebe13ee8ef20ff0e5ae6dd917a7c6fe680f09b (diff)
downloadopenttd-a5d005dd53822b7ec3294d87d8a5255212b9ecb0.tar.xz
(svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for the NewGRF parameter list
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 1084e978d..c9ac27f3c 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -819,7 +819,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_SETTINGS_PARAMETER_QUERY, 63, 250, this, CS_ALPHANUMERAL, QSF_NONE);
+ ShowQueryString(STR_JUST_RAW_STRING, STR_NEWGRF_SETTINGS_PARAMETER_QUERY, 63, 250, this, CS_NUMERAL_SPACE, QSF_NONE);
break;
}