summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp6
1 files 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;
}