Code cleanup: remove redundant CTX calls

This commit is contained in:
2014-04-30 07:48:54 +10:00
parent cdaff06026
commit 48446870a8
21 changed files with 43 additions and 42 deletions

View File

@@ -340,7 +340,7 @@ static int wm_macro_modal(bContext *C, wmOperator *op, const wmEvent *event)
}
}
WM_cursor_grab_enable(CTX_wm_window(C), wrap, false, bounds);
WM_cursor_grab_enable(win, wrap, false, bounds);
}
}
}