Przeglądaj źródła

REXM: Avoid updating metadata from `others` examples

pull/5214/head
Ray 1 tydzień temu
rodzic
commit
f76666af3f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      tools/rexm/rexm.c

+ 1
- 1
tools/rexm/rexm.c Wyświetl plik

@ -2331,7 +2331,7 @@ static const char *GenerateUUIDv4(void)
// Update source code header and comments metadata
static void UpdateSourceMetadata(const char *exSrcPath, const rlExampleInfo *info)
{
if (FileExists(exSrcPath) && IsFileExtension(exSrcPath, ".c"))
if (FileExists(exSrcPath) && IsFileExtension(exSrcPath, ".c") && (!TextIsEqual(info->category, "others")))
{
// WARNING: Cache a copy of exSrcPath to avoid modifications by TextFormat()
char exSourcePath[512] = { 0 };

Ładowanie…
Anuluj
Zapisz