1
0
Fork 0

(svn r9027) -Fix [FS#664]: desync caused by buffer overrun.

release/0.6
rubidium 2007-03-06 18:03:06 +00:00
parent 4b2ff65e0e
commit b5f418d9f1
1 changed files with 1 additions and 1 deletions

View File

@ -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 */