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)); } }