mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
REXM: Avoid updating metadata from others examples
This commit is contained in:
parent
e5e684a5ca
commit
f76666af3f
@ -2331,7 +2331,7 @@ static const char *GenerateUUIDv4(void)
|
|||||||
// Update source code header and comments metadata
|
// Update source code header and comments metadata
|
||||||
static void UpdateSourceMetadata(const char *exSrcPath, const rlExampleInfo *info)
|
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()
|
// WARNING: Cache a copy of exSrcPath to avoid modifications by TextFormat()
|
||||||
char exSourcePath[512] = { 0 };
|
char exSourcePath[512] = { 0 };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user