(svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing!

This commit is contained in:
orudge
2005-07-22 16:14:24 +00:00
parent 1b6ff121f4
commit c50223526c
4 changed files with 22 additions and 11 deletions

View File

@@ -90,10 +90,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] = {
lid->ac[i],
_cargoc.names_s[i]
};
int32 argv[2];
argv[0] = lid->ac[i];
argv[1] = _cargoc.names_s[i];
p = GetStringWithArgs(p, STR_01D1_8, argv);
} else {
p = GetString(p, _cargoc.names_s[i]);