Skip to content

Commit 36d3c8a

Browse files
committed
Update rexm.c
1 parent 377853b commit 36d3c8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/rexm/rexm.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,9 @@ int main(int argc, char *argv[])
901901
// defines placement on raylib webpage
902902
rlExampleInfo *exInfo = LoadExampleInfo(clist.paths[i]);
903903

904-
// Validate example category and avoid [others] examples (special category)
905-
if (TextInList(exInfo->category, exCategories, REXM_MAX_EXAMPLE_CATEGORIES) &&
906-
!TextIsEqual(exInfo->category, "others"))
904+
// Validate example category
905+
// TODO: Should [others] category be considered?
906+
if (TextInList(exInfo->category, exCategories, REXM_MAX_EXAMPLE_CATEGORIES))// && !TextIsEqual(exInfo->category, "others"))
907907
{
908908
// Get example difficulty stars
909909
char starsText[16] = { 0 };
@@ -915,7 +915,7 @@ int main(int argc, char *argv[])
915915
}
916916

917917
exListLen += sprintf(exListUpdated + exListLen,
918-
TextFormat("%s;%s;%s;%s;%s;%s;%s;\"%s\";@%s\n",
918+
TextFormat("%s;%s;%s;%s;%s;%i;%i;\"%s\";@%s\n",
919919
exInfo->category, exInfo->name, starsText, exInfo->verCreated,
920920
exInfo->verUpdated, exInfo->yearCreated, exInfo->yearReviewed,
921921
exInfo->author, exInfo->authorGitHub));

0 commit comments

Comments
 (0)