diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-10 09:51:15 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-10 09:54:21 +0300 |
commit | 8cb3b49e51469b9689bfa44b85349149e17699dc (patch) | |
tree | 04307341165e0ee87aca82190c760af241027c32 /source/blender/editors/space_statusbar | |
parent | 489cb7fd7eb0ab4e34c084acd2bf740a878498e9 (diff) |
Cleanup: replace strncpy with BLI_strncpy
Also replace strncpy+strcat with BLI_string_join
Diffstat (limited to 'source/blender/editors/space_statusbar')
-rw-r--r-- | source/blender/editors/space_statusbar/space_statusbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_statusbar/space_statusbar.c b/source/blender/editors/space_statusbar/space_statusbar.c index 9c64235870c..e99e8f21364 100644 --- a/source/blender/editors/space_statusbar/space_statusbar.c +++ b/source/blender/editors/space_statusbar/space_statusbar.c @@ -136,7 +136,7 @@ void ED_spacetype_statusbar(void) ARegionType *art; st->spaceid = SPACE_STATUSBAR; - strncpy(st->name, "Status Bar", BKE_ST_MAXNAME); + STRNCPY(st->name, "Status Bar"); st->create = statusbar_create; st->free = statusbar_free; |