Browse Source

Update rexm.c

pull/5228/head
Ray 3 weeks ago
parent
commit
36d3c8acfb
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      tools/rexm/rexm.c

+ 4
- 4
tools/rexm/rexm.c View File

@ -901,9 +901,9 @@ int main(int argc, char *argv[])
// defines placement on raylib webpage // defines placement on raylib webpage
rlExampleInfo *exInfo = LoadExampleInfo(clist.paths[i]); rlExampleInfo *exInfo = LoadExampleInfo(clist.paths[i]);
// Validate example category and avoid [others] examples (special category)
k">if (TextInList(exInfo->category, exCategories, REXM_MAX_EXAMPLE_CATEGORIES) &&
!TextIsEqual(exInfo->category, "others"))
// Validate example category
o">// TODO: Should [others] category be considered?
class="k">if class="p">(TextInList(exInfo->category, exCategories, REXM_MAX_EXAMPLE_CATEGORIES))// && !TextIsEqual(exInfo->category, "others"))
{ {
// Get example difficulty stars // Get example difficulty stars
char starsText[16] = { 0 }; char starsText[16] = { 0 };
@ -915,7 +915,7 @@ int main(int argc, char *argv[])
} }
exListLen += sprintf(exListUpdated + exListLen, exListLen += sprintf(exListUpdated + exListLen,
TextFormat("%s;%s;%s;%s;%s;%s;%s;\"%s\";@%s\n",
TextFormat("%s;%s;%s;%s;%s;%i;%i;\"%s\";@%s\n",
exInfo->category, exInfo->name, starsText, exInfo->verCreated, exInfo->category, exInfo->name, starsText, exInfo->verCreated,
exInfo->verUpdated, exInfo->yearCreated, exInfo->yearReviewed, exInfo->verUpdated, exInfo->yearCreated, exInfo->yearReviewed,
exInfo->author, exInfo->authorGitHub)); exInfo->author, exInfo->authorGitHub));

Loading…
Cancel
Save