(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
authorrubidium
Thu, 21 Jun 2007 15:37:05 +0000
changeset 6994 8eab245a77c3
parent 6993 96260dbb34d6
child 6995 dbcd37808b05
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
src/strings.cpp
--- a/src/strings.cpp	Thu Jun 21 15:13:09 2007 +0000
+++ b/src/strings.cpp	Thu Jun 21 15:37:05 2007 +0000
@@ -569,7 +569,7 @@
 			}
 
 			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 @@
 				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}