diff options
author | Darkvater <darkvater@openttd.org> | 2006-08-27 10:04:33 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-08-27 10:04:33 +0000 |
commit | 2f6a4bc1a92aeb4904e5e84e23fa28d0307a303c (patch) | |
tree | 7b7c2c5ef41754f3d2854fc5337bb50a88959b3b /misc_gui.c | |
parent | 5dec21ff0f3b0b7dce51254d1254d548a9f91093 (diff) | |
download | openttd-2f6a4bc1a92aeb4904e5e84e23fa28d0307a303c.tar.xz |
(svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() which should be
integral to strings.c
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/misc_gui.c b/misc_gui.c index a569ab500..4deead899 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -105,10 +105,9 @@ static void LandInfoWndProc(Window *w, WindowEvent *e) // If the accepted value is less than 8, show it in 1/8:ths if (lid->ac[i] < 8) { - int32 argv[2]; - argv[0] = lid->ac[i]; - argv[1] = _cargoc.names_s[i]; - p = GetStringWithArgs(p, STR_01D1_8, argv); + SetDParam(0, lid->ac[i]); + SetDParam(1, _cargoc.names_s[i]); + p = GetString(p, STR_01D1_8); } else { p = GetString(p, _cargoc.names_s[i]); } |