From fecf81496a38e67acc8e192458a21eb2d64732ab Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 21 Jun 2007 15:37:05 +0000 Subject: [PATCH] (svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits. --- src/strings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strings.cpp b/src/strings.cpp index 24fc29c47d..5ac7133c4f 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}