author | rubidium |
Tue, 06 Mar 2007 18:03:06 +0000 | |
changeset 6226 | e2e9607ea3cc |
parent 6225 | fdec6c019f43 |
child 6227 | e38177bd77c4 |
src/currency.cpp | file | annotate | diff | comparison | revisions |
--- a/src/currency.cpp Mon Mar 05 23:00:43 2007 +0000 +++ b/src/currency.cpp Tue Mar 06 18:03:06 2007 +0000 @@ -173,7 +173,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 */