From 07476a5dd01cb968a5a8d72df7bbd03bc9f95b22 Mon Sep 17 00:00:00 2001 From: CrackedPixel <5776225+CrackedPixel@users.noreply.github.com> Date: Mon, 2 Mar 2026 19:09:16 -0600 Subject: [PATCH] removed +1 offset --- tools/rexm/rexm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rexm/rexm.c b/tools/rexm/rexm.c index 30ef6411f..2acfead35 100644 --- a/tools/rexm/rexm.c +++ b/tools/rexm/rexm.c @@ -1034,7 +1034,7 @@ int main(int argc, char *argv[]) if (catIndex > -1) { - int nextCatIndex = catIndex + 1; + int nextCatIndex = catIndex; if (nextCatIndex > (REXM_MAX_EXAMPLE_CATEGORIES - 1)) nextCatIndex = -1; // EOF // Find position to add new example on list, just before the following category