(svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array
authortron
Fri, 25 Aug 2006 12:58:52 +0000
changeset 4380 f9e0e17c4d17
parent 4379 2866185c1377
child 4381 c1af6c934040
(svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array
currency.h
--- a/currency.h	Fri Aug 25 12:26:34 2006 +0000
+++ b/currency.h	Fri Aug 25 12:58:52 2006 +0000
@@ -7,7 +7,7 @@
 	CF_NOEURO = 0,
 	CF_ISEURO = 1,
 	NUM_CURRENCY = 25,
-	CUSTOM_CURRENCY_ID = NUM_CURRENCY + 1,
+	CUSTOM_CURRENCY_ID = NUM_CURRENCY - 1
 };
 
 typedef struct {