summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/currency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/currency.cpp b/src/currency.cpp
index 036f827bd..c1bcc9909 100644
--- a/src/currency.cpp
+++ b/src/currency.cpp
@@ -173,7 +173,7 @@ void ResetCurrencies(void)
StringID* BuildCurrencyDropdown(void)
{
/* Allow room for all currencies, plus a terminator entry */
- static StringID names[CUSTOM_CURRENCY_ID];
+ static StringID names[NUM_CURRENCY + 1];
uint i;
/* Add each name */