Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-10 09:51:15 +0300
committerCampbell Barton <campbell@blender.org>2022-09-10 09:54:21 +0300
commit8cb3b49e51469b9689bfa44b85349149e17699dc (patch)
tree04307341165e0ee87aca82190c760af241027c32 /source/blender/editors/space_file/space_file.c
parent489cb7fd7eb0ab4e34c084acd2bf740a878498e9 (diff)
Cleanup: replace strncpy with BLI_strncpy
Also replace strncpy+strcat with BLI_string_join
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index b5cad0f6ff8..bba0c27bb4d 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -992,7 +992,7 @@ void ED_spacetype_file(void)
ARegionType *art;
st->spaceid = SPACE_FILE;
- strncpy(st->name, "File", BKE_ST_MAXNAME);
+ STRNCPY(st->name, "File");
st->create = file_create;
st->free = file_free;