From 1ace3272aa4fbde703c975ddec4e1ccf31066da5 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 3 Jul 2015 15:54:34 +0200 Subject: Walk mode: Add modal shortcuts in UI (header help message). --- source/blender/windowmanager/intern/wm_keymap.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source/blender/windowmanager/intern/wm_keymap.c') 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( -- cgit v1.2.3