From 84e606b8c74ecc6ffb5c0d233400049c9351be46 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 5 Sep 2025 23:00:36 +0200 Subject: [PATCH] Update rexm.c --- tools/rexm/rexm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rexm/rexm.c b/tools/rexm/rexm.c index 151ec6497..4c1667dbe 100644 --- a/tools/rexm/rexm.c +++ b/tools/rexm/rexm.c @@ -1561,7 +1561,7 @@ static int UpdateRequiredFiles(void) mdIndex += sprintf(mdTextUpdated + mdListStartIndex + mdIndex, "| example | image | difficulty
level | version
created | last version
updated | original
developer |\n"); mdIndex += sprintf(mdTextUpdated + mdListStartIndex + mdIndex, "|-----------|--------|:-------------------:|:------------------:|:-----------------------:|:----------------------|\n"); - char starsTexts[16] = { 0 }; + char starsText[16] = { 0 }; for (int x = 0; x < exCollectionCount; x++) { for (int s = 0; s < 4; s++) @@ -1628,7 +1628,7 @@ static int UpdateRequiredFiles(void) else { jsIndex += sprintf(jsTextUpdated + jsListStartIndex + jsIndex, - TextFormat(" exampleEntry('%s', '%s', '%s'),\n", stars, exCollection[x].category, exCollection[x].name + strlen(exCollection[x].category) + 1)); + TextFormat(" exampleEntry('%s', '%s', '%s'),\n", starsText, exCollection[x].category, exCollection[x].name + strlen(exCollection[x].category) + 1)); } }