(svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for the NewGRF parameter list

This commit is contained in:
rubidium
2009-10-31 14:06:16 +00:00
parent 8e6f96e322
commit c3525c3c5c
3 changed files with 6 additions and 4 deletions

View File

@@ -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;
}