(svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() which should be

integral to strings.c
This commit is contained in:
Darkvater
2006-08-27 10:04:33 +00:00
parent 5dec21ff0f
commit 2f6a4bc1a9
6 changed files with 14 additions and 20 deletions

View File

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