style cleanup
[blender-staging.git] / source / blender / editors / interface / interface_layout.c
index 0813e4cba074d907692298ab421d8a57c711718d..8e5d5740444648760191ef902df2d01b7a93204a 100644 (file)
@@ -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 */
        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,
                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);
                }
        }
 
                }
        }