style cleanup
[blender.git] / source / blender / editors / interface / interface_handlers.c
index f798f0b399bf17ae4258cc58811d14dc78798e2a..80c15ad7b4bc0abe09363b66ea74116c17163a26 100644 (file)
@@ -6621,7 +6621,9 @@ static int ui_handle_menu_event(bContext *C, wmEvent *event, uiPopupBlockHandle
                                }
                        }
 
-                       if (menu->menuretval) ;
+                       if (menu->menuretval) {
+                               /* pass */
+                       }
                        else if (event->type == ESCKEY && event->val == KM_PRESS) {
                                /* esc cancels this and all preceding menus */
                                menu->menuretval = UI_RETURN_CANCEL;