diff options
author | truelight <truelight@openttd.org> | 2006-08-19 09:31:22 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-19 09:31:22 +0000 |
commit | d3f2180438830f8fefc1e319276d33a914fee767 (patch) | |
tree | 99ae4703fae7e532aba0086cf644ec2230755e2e /town_gui.c | |
parent | 9b18c11413655ef3bc1871cf84fe1a0e95a166c3 (diff) | |
download | openttd-d3f2180438830f8fefc1e319276d33a914fee767.tar.xz |
(svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only
allow certain patterns (like numbers only)
Diffstat (limited to 'town_gui.c')
-rw-r--r-- | town_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_gui.c b/town_gui.c index bd289b6a7..9d4d376f2 100644 --- a/town_gui.c +++ b/town_gui.c @@ -266,7 +266,7 @@ static void TownViewWndProc(Window *w, WindowEvent *e) case 8: /* rename */ SetDParam(0, w->window_number); - ShowQueryString(STR_TOWN, STR_2007_RENAME_TOWN, 31, 130, w->window_class, w->window_number); + ShowQueryString(STR_TOWN, STR_2007_RENAME_TOWN, 31, 130, w->window_class, w->window_number, CS_ALPHANUMERAL); break; case 9: /* expand town */ |