From 9b8aa4c10114f851815b703083ff9dc2d27f3675 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 3 May 2005 15:20:08 +0000 Subject: (svn r2260) - Fix (regression): custom currency input works again ingame --- settings_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'settings_gui.c') diff --git a/settings_gui.c b/settings_gui.c index 53c4ba585..408c3cc80 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -1414,12 +1414,12 @@ static void CustCurrencyWndProc(Window *w, WindowEvent *e) break; } - if(edittext) { + if (edittext) { WP(w,def_d).data_2 = line; ShowQueryString( str, STR_CURRENCY_CHANGE_PARAMETER, - len, // maximum number of characters OR + len + 1, // maximum number of characters OR 250, // characters up to this width pixels, whichever is satisfied first w->window_class, w->window_number); -- cgit v1.2.3-54-g00ecf