branch | 0.5 |
changeset 5462 | 6d16b7e4f85d |
parent 5108 | dc67d70b5a45 |
child 5480 | 497f842b10bf |
--- a/currency.c Mon Mar 19 19:22:26 2007 +0000 +++ b/currency.c Mon Mar 19 19:34:44 2007 +0000 @@ -168,7 +168,7 @@ 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 */