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 | 9f73fce941ba80db674eeebb834cd2e137402686 (patch) | |
tree | 7b7c2c5ef41754f3d2854fc5337bb50a88959b3b /misc_gui.c | |
parent | de742d597eb4d8c2bf93f6323a661d9c9c9016fc (diff) | |
download | openttd-9f73fce941ba80db674eeebb834cd2e137402686.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]); } |