summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-03-24 00:43:44 +0000
committeryexo <yexo@openttd.org>2011-03-24 00:43:44 +0000
commitb1901586a06765d94a5ca0ff7ad6527110d47a43 (patch)
tree1af62f100be2cd8f2735bd8dce7d7137499fb9ea /src
parentf876cc1bd377aa2421540bc61e280ee5003014ff (diff)
downloadopenttd-b1901586a06765d94a5ca0ff7ad6527110d47a43.tar.xz
(svn r22273) -Fix (r22271) [FS#4562]: fix was incorrect
Diffstat (limited to 'src')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 22753f0da..16f389dab 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -784,7 +784,7 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
default: {
StringParameters tmp_params(*args, 1);
- buff = GetStringWithArgs(buff, cargo_str, args, last);
+ buff = GetStringWithArgs(buff, cargo_str, &tmp_params, last);
break;
}
}