Просмотр исходного кода

REXM: Avoid updating metadata from `others` examples

pull/5214/head
Ray 1 неделю назад
Родитель
Сommit
f76666af3f
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      tools/rexm/rexm.c

+ 1
- 1
tools/rexm/rexm.c Просмотреть файл

@ -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 };

Загрузка…
Отмена
Сохранить