code cleanup: use const events for modal and invoke operators.
[blender.git] / source / blender / editors / armature / armature_select.c
index 07706d3d0d1ed3f105d6b66c0a620a07fd43e70a..7ff318bb6b6f2104e8ab65bc067a7ab041d354c8 100644 (file)
@@ -166,7 +166,7 @@ void *get_nearest_bone(bContext *C, short findunsel, int x, int y)
 
 /* called in space.c */
 /* previously "selectconnected_armature" */
-static int armature_select_linked_invoke(bContext *C, wmOperator *op, wmEvent *event)
+static int armature_select_linked_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 {
        bArmature *arm;
        EditBone *bone, *curBone, *next;