Skip to content

Commit 363855e

Browse files
committed
Update rexm.c
1 parent 8ada37d commit 363855e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tools/rexm/rexm.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -939,22 +939,22 @@ int main(int argc, char *argv[])
939939
UnloadImage(imScreenshot);
940940

941941
// Validate: raylib/examples/Makefile -> Example listed?
942-
if (FileTextFind(TextFormat("%s/Makefile", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_MAKEFILE;
942+
if (FileTextFindIndex(TextFormat("%s/Makefile", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_MAKEFILE;
943943

944944
// Validate: raylib/examples/Makefile.Web -> Example listed?
945-
if (FileTextFind(TextFormat("%s/Makefile.Web", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_MAKEFILE_WEB;
945+
if (FileTextFindIndex(TextFormat("%s/Makefile.Web", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_MAKEFILE_WEB;
946946

947947
// Validate: raylib/examples/README.md -> Example listed?
948-
if (FileTextFind(TextFormat("%s/README.md", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_README;
948+
if (FileTextFindIndex(TextFormat("%s/README.md", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_README;
949949

950950
// Validate: raylib.com/common/examples.js -> Example listed?
951-
if (FileTextFind(TextFormat("%s/../common/examples.js", exWebPath), exInfo->name + TextFindIndex(exInfo->name, "_") + 1) == -1) exInfo->status |= VALID_NOT_IN_JS;
951+
if (FileTextFindIndex(TextFormat("%s/../common/examples.js", exWebPath), exInfo->name + TextFindIndex(exInfo->name, "_") + 1) == -1) exInfo->status |= VALID_NOT_IN_JS;
952952

953953
// Validate: raylib/projects/VS2022/examples/<category>_example_name.vcxproj -> File exists?
954954
if (!FileExists(TextFormat("%s/../projects/VS2022/examples/%s.vcxproj", exBasePath, exInfo->name))) exInfo->status |= VALID_MISSING_VCXPROJ;
955955

956956
// Validate: raylib/projects/VS2022/raylib.sln -> Example listed?
957-
if (FileTextFind(TextFormat("%s/../projects/VS2022/raylib.sln", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_VCXSOL;
957+
if (FileTextFindIndex(TextFormat("%s/../projects/VS2022/raylib.sln", exBasePath), exInfo->name) == -1) exInfo->status |= VALID_NOT_IN_VCXSOL;
958958

959959
// Validate: raylib/examples/<category>/resources/.. -> Example resources available?
960960
// Scan resources used in example to check for missing resource files

0 commit comments

Comments
 (0)