summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authororudge <orudge@openttd.org>2005-07-22 16:14:24 +0000
committerorudge <orudge@openttd.org>2005-07-22 16:14:24 +0000
commitc50223526ce416144495b3c5746e1e2de3d5371b (patch)
treea0920f396db4a75b428759305e9804a19c174e68 /misc_gui.c
parent1b6ff121f4b8c07311d1022392f85e58db41aea0 (diff)
downloadopenttd-c50223526ce416144495b3c5746e1e2de3d5371b.tar.xz
(svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing!
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 9a9aa8f5d..195f3d293 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -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]);