summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32.c b/win32.c
index e4e7cc52e..18b268b15 100644
--- a/win32.c
+++ b/win32.c
@@ -44,9 +44,9 @@ static bool cursor_visible = true;
bool MyShowCursor(bool show)
{
- if (_wnd.cursor_visible == show) return show;
+ if (cursor_visible == show) return show;
- _wnd.cursor_visible = show;
+ cursor_visible = show;
ShowCursor(show);
return !show;