diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_cursors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c index 41987f6d6d7..f69bc822f44 100644 --- a/source/blender/windowmanager/intern/wm_cursors.c +++ b/source/blender/windowmanager/intern/wm_cursors.c @@ -183,9 +183,9 @@ void WM_cursor_set(wmWindow *win, int curs) } } -bool WM_cursor_set_from_tool(struct wmWindow *win, const ScrArea *sa, const ARegion *ar) +bool WM_cursor_set_from_tool(struct wmWindow *win, const ScrArea *sa, const ARegion *region) { - if (ar && (ar->regiontype != RGN_TYPE_WINDOW)) { + if (region && (region->regiontype != RGN_TYPE_WINDOW)) { return false; } |