diff options
author | terkhen <terkhen@openttd.org> | 2011-04-17 18:42:17 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-04-17 18:42:17 +0000 |
commit | 10caf391a1b6de33e1ac03236b2744adc9a2b2c5 (patch) | |
tree | e15e81245ef9d18ae217a50ad0b276692213a725 /src/newgrf_gui.cpp | |
parent | e874f0e16e5ddaff3c5f40f419f31aedc7226897 (diff) | |
download | openttd-10caf391a1b6de33e1ac03236b2744adc9a2b2c5.tar.xz |
(svn r22343) -Change: Remove pixel limiter for query strings.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index a1e45e3cc..c0a2312e3 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -342,7 +342,7 @@ struct NewGRFParametersWindow : public Window { } else if (par_info->type == PTYPE_UINT_ENUM && click_count >= 2) { /* Display a query box so users can enter a custom value. */ SetDParam(0, this->grf_config->param[num]); - ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, 100, this, CS_NUMERAL, QSF_NONE); + ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, this, CS_NUMERAL, QSF_NONE); } this->SetDirty(); @@ -786,7 +786,7 @@ struct NewGRFWindow : public QueryStringBaseWindow { } case SNGRFS_PRESET_SAVE: - ShowQueryString(STR_EMPTY, STR_NEWGRF_SETTINGS_PRESET_SAVE_QUERY, 32, 100, this, CS_ALPHANUMERAL, QSF_NONE); + ShowQueryString(STR_EMPTY, STR_NEWGRF_SETTINGS_PRESET_SAVE_QUERY, 32, this, CS_ALPHANUMERAL, QSF_NONE); break; case SNGRFS_PRESET_DELETE: |