From 8cb3b49e51469b9689bfa44b85349149e17699dc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 10 Sep 2022 16:51:15 +1000 Subject: Cleanup: replace strncpy with BLI_strncpy Also replace strncpy+strcat with BLI_string_join --- source/blender/editors/space_nla/space_nla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_nla') diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index ba7e8987dd5..c71e63e9dcd 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -568,7 +568,7 @@ void ED_spacetype_nla(void) ARegionType *art; st->spaceid = SPACE_NLA; - strncpy(st->name, "NLA", BKE_ST_MAXNAME); + STRNCPY(st->name, "NLA"); st->create = nla_create; st->free = nla_free; -- cgit v1.2.3