Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-28 18:03:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-28 18:05:22 +0300
commit916c2d0e7f31c71082fdadbe35d809c0802b4063 (patch)
tree7abda5f23441caefe8ba75f7d752d471970f317d /source/blender/windowmanager/intern/wm_cursors.c
parente4ac8ab212769b569334d0cd15d4bf04f42cbc89 (diff)
Cleanup: use WM_ prefix for cursor enum
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r--source/blender/windowmanager/intern/wm_cursors.c4
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 eeea3bf498c..490a05a40d6 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -242,10 +242,10 @@ void WM_cursor_grab_enable(wmWindow *win, int wrap, bool hide, int bounds[4])
else if (wrap) {
mode = GHOST_kGrabWrap;
- if (wrap == CURSOR_WRAP_X) {
+ if (wrap == WM_CURSOR_WRAP_X) {
mode_axis = GHOST_kAxisX;
}
- if (wrap == CURSOR_WRAP_Y) {
+ if (wrap == WM_CURSOR_WRAP_Y) {
mode_axis = GHOST_kGrabAxisY;
}
}