From 92c763283568415800319f8139aeb1002dee56a0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 4 Apr 2015 10:48:05 +1100 Subject: Add missing break statements --- source/blender/editors/space_console/console_ops.c | 1 + source/blender/editors/space_text/text_ops.c | 1 + 2 files changed, 2 insertions(+) diff --git a/source/blender/editors/space_console/console_ops.c b/source/blender/editors/space_console/console_ops.c index b3f5e81f154..b3149c1bbf4 100644 --- a/source/blender/editors/space_console/console_ops.c +++ b/source/blender/editors/space_console/console_ops.c @@ -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; diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index 6fb5706bfdf..9d517b20f01 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -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); -- cgit v1.2.3