removed +1 offset

This commit is contained in:
CrackedPixel 2026-03-02 19:09:16 -06:00
parent bf830c3f7b
commit 07476a5dd0

View File

@ -1034,7 +1034,7 @@ int main(int argc, char *argv[])
if (catIndex > -1) if (catIndex > -1)
{ {
int nextCatIndex = catIndex + 1; int nextCatIndex = catIndex;
if (nextCatIndex > (REXM_MAX_EXAMPLE_CATEGORIES - 1)) nextCatIndex = -1; // EOF if (nextCatIndex > (REXM_MAX_EXAMPLE_CATEGORIES - 1)) nextCatIndex = -1; // EOF
// Find position to add new example on list, just before the following category // Find position to add new example on list, just before the following category