From 7c67a5e3657c8d6626a4510d567eeeea73f0129f Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 25 Aug 2006 12:58:52 +0000 Subject: (svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array --- currency.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'currency.h') diff --git a/currency.h b/currency.h index be4273df5..82ee2901b 100644 --- a/currency.h +++ b/currency.h @@ -7,7 +7,7 @@ enum { CF_NOEURO = 0, CF_ISEURO = 1, NUM_CURRENCY = 25, - CUSTOM_CURRENCY_ID = NUM_CURRENCY + 1, + CUSTOM_CURRENCY_ID = NUM_CURRENCY - 1 }; typedef struct { -- cgit v1.2.3-70-g09d2