diff options
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 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]); |