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/editors/interface/interface_region_tooltip.c | |
parent | 1152a437e097a80618cce23056af74dacc192c52 (diff) |
Cleanup: remove redundant string formatting
Diffstat (limited to 'source/blender/editors/interface/interface_region_tooltip.c')
-rw-r--r-- | source/blender/editors/interface/interface_region_tooltip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c index c7ebecb178b..82d4405e1b5 100644 --- a/source/blender/editors/interface/interface_region_tooltip.c +++ b/source/blender/editors/interface/interface_region_tooltip.c @@ -800,7 +800,7 @@ static uiTooltipData *ui_tooltip_data_from_button_or_extra_icon(bContext *C, .style = UI_TIP_STYLE_HEADER, .color_id = UI_TIP_LC_NORMAL, }); - field->text = BLI_sprintfN("%s", but_label.strinfo); + field->text = BLI_strdup(but_label.strinfo); } /* Tip */ |