diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index 6676776475c..29d54f47947 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -900,9 +900,10 @@ const char *WM_key_event_string(const short type, const bool compact) } /* TODO: also support (some) value, like e.g. double-click? */ -int WM_keymap_item_raw_to_string(const short shift, const short ctrl, const short alt, const short oskey, - const short keymodifier, const short type, const bool compact, - const int len, char *r_str) +int WM_keymap_item_raw_to_string( + const short shift, const short ctrl, const short alt, const short oskey, + const short keymodifier, const short type, const bool compact, + const int len, char *r_str) { #define ADD_SEP if (p != buf) *p++ = ' '; (void)0 @@ -966,8 +967,8 @@ int WM_keymap_item_raw_to_string(const short shift, const short ctrl, const shor int WM_keymap_item_to_string(wmKeyMapItem *kmi, const bool compact, const int len, char *r_str) { - return WM_keymap_item_raw_to_string(kmi->shift, kmi->ctrl, kmi->alt, kmi->oskey, - kmi->keymodifier, kmi->type, compact, len, r_str); + return WM_keymap_item_raw_to_string( + kmi->shift, kmi->ctrl, kmi->alt, kmi->oskey, kmi->keymodifier, kmi->type, compact, len, r_str); } int WM_modalkeymap_operator_items_to_string( |