diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-17 10:14:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-17 10:14:00 +0300 |
commit | c756d08b4a5349362af09c78974b3ca310ab5037 (patch) | |
tree | f0ae2b1aad2c7fd727f45f325471f5bd718481b1 /source/blender/blenkernel/intern | |
parent | 1152a437e097a80618cce23056af74dacc192c52 (diff) |
Cleanup: remove redundant string formatting
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.cc b/source/blender/blenkernel/intern/image.cc index b9bb536d173..0c1f01c3796 100644 --- a/source/blender/blenkernel/intern/image.cc +++ b/source/blender/blenkernel/intern/image.cc @@ -1730,7 +1730,7 @@ static void stampdata_from_template(StampData *stamp_data, stamp_data->file[0] = '\0'; } if (scene->r.stamp & R_STAMP_NOTE) { - SNPRINTF(stamp_data->note, "%s", stamp_data_template->note); + STRNCPY(stamp_data->note, stamp_data_template->note); } else { stamp_data->note[0] = '\0'; |