diff options
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 e3d90ceb7a2..70e0f07ea6c 100644 --- a/source/blender/editors/interface/interface_region_tooltip.c +++ b/source/blender/editors/interface/interface_region_tooltip.c @@ -337,7 +337,7 @@ static uiTooltipData *ui_tooltip_data_from_keymap(bContext *C, wmKeyMap *keymap) .color_id = UI_TIP_LC_NORMAL, }); bool found = false; - if (WM_keymap_item_to_string(kmi, false, sizeof(buf), buf)) { + if (WM_keymap_item_to_string(kmi, false, buf, sizeof(buf))) { found = true; } field->text = BLI_sprintfN(TIP_("Shortcut: %s"), found ? buf : "None"); |