diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-11 05:06:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-11 05:06:01 +0400 |
commit | 359edc27d34c3446b682a4b7b777a841c275327a (patch) | |
tree | 736b8fcdbab077eacf35bfbd08706b64bdb0121a /source/blender/editors/interface/interface_layout.c | |
parent | 00014949c8a2e77e29d7ad690e20630dc4ebd1af (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 0813e4cba07..8e5d5740444 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -1709,11 +1709,12 @@ void uiItemMenuEnumO(uiLayout *layout, bContext *C, const char *opname, const ch lvl->opcontext = layout->root->opcontext; /* add hotkey here, lower UI code can't detect it */ - if(layout->root->block->flag & UI_BLOCK_LOOP) { + if (layout->root->block->flag & UI_BLOCK_LOOP) { if (ot->prop && WM_key_event_operator_string(C, ot->idname, - layout->root->opcontext, NULL, false, keybuf, sizeof(keybuf))) { - strncat(namestr, "|", sizeof(namestr)-1); - strncat(namestr, keybuf, sizeof(namestr)-1); + layout->root->opcontext, NULL, false, keybuf, sizeof(keybuf))) + { + strncat(namestr, "|", sizeof(namestr) - 1); + strncat(namestr, keybuf, sizeof(namestr) - 1); } } |