[Bf-blender-cvs] [92c7632] master: Add missing break statements

Campbell Barton noreply at git.blender.org
Sat Apr 4 01:51:42 CEST 2015


Commit: 92c763283568415800319f8139aeb1002dee56a0
Author: Campbell Barton
Date:   Sat Apr 4 10:48:05 2015 +1100
Branches: master
https://developer.blender.org/rB92c763283568415800319f8139aeb1002dee56a0

Add missing break statements

===================================================================

M	source/blender/editors/space_console/console_ops.c
M	source/blender/editors/space_text/text_ops.c

===================================================================

diff --git a/source/blender/editors/space_console/console_ops.c b/source/blender/editors/space_console/console_ops.c
index b3f5e81..b3149c1 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 6fb5706..9d517b2 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);




More information about the Bf-blender-cvs mailing list