(svn r2260) - Fix (regression): custom currency input works again ingame

This commit is contained in:
Darkvater 2005-05-03 15:20:08 +00:00
parent ad6b37a423
commit 9b8aa4c101
1 changed files with 2 additions and 2 deletions

View File

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