diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-14 13:34:13 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-14 13:34:13 +0300 |
commit | 66407e15cb5136bdbed45b9e0576b1e9863c3f4f (patch) | |
tree | fb4134f9ae1c846504e92c5816d8db83883509e8 /source/blender/windowmanager/intern/wm_cursors.c | |
parent | 0eb32467131543f224a222f0caf42df4ff9d7d65 (diff) |
Cleanup: Remove last G.main's from WM code.
Was mostly validating valid usages of G.main -> G_MAIN actually.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_cursors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c index 6aef38a320b..24ec3aef759 100644 --- a/source/blender/windowmanager/intern/wm_cursors.c +++ b/source/blender/windowmanager/intern/wm_cursors.c @@ -176,7 +176,7 @@ void WM_cursor_modal_restore(wmWindow *win) void WM_cursor_wait(bool val) { if (!G.background) { - wmWindowManager *wm = G.main->wm.first; + wmWindowManager *wm = G_MAIN->wm.first; wmWindow *win = wm ? wm->windows.first : NULL; for (; win; win = win->next) { |