settings_gui.c
changeset 1756 cf2c7fb6bce8
parent 1741 9087c5207f18
child 1759 ea38d6193887
equal deleted inserted replaced
1755:9f0136447beb 1756:cf2c7fb6bce8
  1412 					edittext = true;
  1412 					edittext = true;
  1413 				}
  1413 				}
  1414 			break;
  1414 			break;
  1415 		}
  1415 		}
  1416 
  1416 
  1417 		if(edittext) {
  1417 		if (edittext) {
  1418 			WP(w,def_d).data_2 = line;
  1418 			WP(w,def_d).data_2 = line;
  1419 			ShowQueryString(
  1419 			ShowQueryString(
  1420 			str,
  1420 			str,
  1421 			STR_CURRENCY_CHANGE_PARAMETER,
  1421 			STR_CURRENCY_CHANGE_PARAMETER,
  1422 			len, // maximum number of characters OR
  1422 			len + 1, // maximum number of characters OR
  1423 			250, // characters up to this width pixels, whichever is satisfied first
  1423 			250, // characters up to this width pixels, whichever is satisfied first
  1424 			w->window_class,
  1424 			w->window_class,
  1425 			w->window_number);
  1425 			w->window_number);
  1426 			if (str !=  STR_CONFIG_PATCHES_INT32) DeleteName(str);
  1426 			if (str !=  STR_CONFIG_PATCHES_INT32) DeleteName(str);
  1427 		}
  1427 		}