Merging r58362 through r58463 from trunk into soc-2013-depsgraph_mt
[blender.git] / source / blender / windowmanager / intern / wm_event_system.c
index 4df3557b3eaf500f20f981c8b82aac65003fe67c..74a3fb2b0776582517d5f2a7d81505f299e6de2a 100644 (file)
@@ -1661,8 +1661,8 @@ static int wm_handler_fileselect_call(bContext *C, ListBase *handlers, wmEventHa
                        ED_fileselect_set_params(sfile);
                                
                        action = WM_HANDLER_BREAK;
+                       break;
                }
-               break;
                        
                case EVT_FILESELECT_EXEC:
                case EVT_FILESELECT_CANCEL:
@@ -1757,8 +1757,8 @@ static int wm_handler_fileselect_call(bContext *C, ListBase *handlers, wmEventHa
                        wm_event_free_handler(handler);
 
                        action = WM_HANDLER_BREAK;
+                       break;
                }
-               break;
        }
        
        return action;