From 1ca21fb8d912abd83235f1753e9319503146f144 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(-) 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