summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/strings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 24fc29c47..5ac7133c4 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -569,7 +569,7 @@ static char* FormatString(char* buff, const char* str, const int32* argv, uint c
}
case SCC_CURRENCY_COMPACT: /* {CURRCOMPACT} */
- buff = FormatGenericCurrency(buff, _currency, GetInt32(&argv), true, last);
+ buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), true, last);
break;
case SCC_REVISION: /* {REV} */
@@ -801,7 +801,7 @@ static char* FormatString(char* buff, const char* str, const int32* argv, uint c
break;
case SCC_CURRENCY: // {CURRENCY}
- buff = FormatGenericCurrency(buff, _currency, GetInt32(&argv), false, last);
+ buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), false, last);
break;
case SCC_WAYPOINT_NAME: { // {WAYPOINT}