From 359af770a378ec9864837489a3274528299b9200 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Sat, 27 Mar 2021 15:22:28 +0100 Subject: [PATCH] Rename Gen_Dummy to Gen_last to clarify the purpose --- src/sfloader/fluid_sffile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sfloader/fluid_sffile.c b/src/sfloader/fluid_sffile.c index 6f4bf797..c62c37a6 100644 --- a/src/sfloader/fluid_sffile.c +++ b/src/sfloader/fluid_sffile.c @@ -174,11 +174,11 @@ typedef enum Gen_ScaleTune, Gen_ExclusiveClass, Gen_OverrideRootKey, - Gen_Dummy + Gen_Last /* Sentinel value, not a valid generator */ } Gen_Type; -#define Gen_MaxValid Gen_Dummy - 1 /* maximum valid generator */ -#define Gen_Count Gen_Dummy /* count of generators */ +#define Gen_MaxValid Gen_Last - 1 /* maximum valid generator */ +#define Gen_Count Gen_Last /* count of generators */ #define GenArrSize sizeof(SFGenAmount) * Gen_Count /* gen array size */