From dfd2899a88412b2f94b95cd583975c902ddd0514 Mon Sep 17 00:00:00 2001 From: yexo Date: Tue, 22 Mar 2011 23:59:55 +0000 Subject: (svn r22271) -Fix (r22258) [FS#4562]: cargo en-route display in station was broken --- src/strings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/strings.cpp b/src/strings.cpp index 5658031a6..22753f0da 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -782,11 +782,11 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg break; } - default: - /* Skip a single entry */ - args->GetInt64(); + default: { + StringParameters tmp_params(*args, 1); buff = GetStringWithArgs(buff, cargo_str, args, last); break; + } } break; } -- cgit v1.2.3-70-g09d2