Add missing break statements
authorCampbell Barton <ideasman42@gmail.com>
Fri, 3 Apr 2015 23:48:05 +0000 (10:48 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 3 Apr 2015 23:48:05 +0000 (10:48 +1100)
source/blender/editors/space_console/console_ops.c
source/blender/editors/space_text/text_ops.c

index b3f5e81f15485222146f7c6dc3fb8313fb8f848e..b3149c1bbf41a934f90b3ba5a32a1dcdc85a7813 100644 (file)
@@ -1144,6 +1144,7 @@ static int console_modal_select(bContext *C, wmOperator *op, const wmEvent *even
                                console_cursor_set_exit(C, op);
                                return OPERATOR_FINISHED;
                        }
+                       break;
                case MOUSEMOVE:
                        console_modal_select_apply(C, op, event);
                        break;
index 6fb5706bfdf6fe4f8af3237a305c3b305f82a5fa..9d517b20f01d3e184795e7297921d16f1794fe22 100644 (file)
@@ -2676,6 +2676,7 @@ static int text_set_selection_modal(bContext *C, wmOperator *op, const wmEvent *
                                text_cursor_set_exit(C, op);
                                return OPERATOR_FINISHED;
                        }
+                       break;
                case TIMER:
                case MOUSEMOVE:
                        text_cursor_set_apply(C, op, event);