(svn r2260) - Fix (regression): custom currency input works again ingame
authorDarkvater
Tue, 03 May 2005 15:20:08 +0000
changeset 1756 cf2c7fb6bce8
parent 1755 9f0136447beb
child 1757 b179d50241dc
(svn r2260) - Fix (regression): custom currency input works again ingame
settings_gui.c
--- a/settings_gui.c	Tue May 03 11:48:55 2005 +0000
+++ b/settings_gui.c	Tue May 03 15:20:08 2005 +0000
@@ -1414,12 +1414,12 @@
 			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);