From ebefbcaeb0df55df8c7c5ff75a337cc789ce4776 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 23 May 2025 15:55:06 +0200 Subject: [PATCH] Cleanup: Fix incorrect comment about `name` size of `BLODataBlockInfo`. --- source/blender/blenloader/BLO_readfile.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenloader/BLO_readfile.hh b/source/blender/blenloader/BLO_readfile.hh index 080bb68dffb..98ab4bb76d8 100644 --- a/source/blender/blenloader/BLO_readfile.hh +++ b/source/blender/blenloader/BLO_readfile.hh @@ -227,7 +227,7 @@ void BLO_read_do_version_after_setup(Main *new_bmain, * \{ */ struct BLODataBlockInfo { - char name[64]; /* MAX_NAME */ + char name[/*MAX_ID_NAME-2*/ 64]; AssetMetaData *asset_data; /** Ownership over #asset_data above can be "stolen out" of this struct, for more permanent * storage. In that case, set this to false to avoid double freeing of the stolen data. */