From 60b46062c637a373c8eea8ff5b6226b055d3c942 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 18 Aug 2025 15:00:54 +0200 Subject: [PATCH] REXM: Reviewed example rename on `examples.js` --- tools/rexm/rexm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/rexm/rexm.c b/tools/rexm/rexm.c index 2b936c9e3..24e9477ae 100644 --- a/tools/rexm/rexm.c +++ b/tools/rexm/rexm.c @@ -591,7 +591,8 @@ int main(int argc, char *argv[]) FileTextReplace(TextFormat("%s/Makefile", exBasePath), exName, exRename); FileTextReplace(TextFormat("%s/Makefile.Web", exBasePath), exName, exRename); FileTextReplace(TextFormat("%s/README.md", exBasePath), exName, exRename); - FileTextReplace(TextFormat("%s/../common/examples.js", exWebPath), exName, exRename); + FileTextReplace(TextFormat("%s/../common/examples.js", exWebPath), + exName + strlen(exCategory) + 1, exRename + strlen(exRecategory) + 1); // Skip category // Edit: Rename example project and solution rename(TextFormat("%s/../projects/VS2022/examples/%s.vcxproj", exBasePath, exName),