(svn r2726) Fix last commit
authortron
Wed, 27 Jul 2005 19:25:50 +0000
changeset 2208 4d1cc67d7cbb
parent 2207 be1ef1e1fc58
child 2209 ef0762882a63
(svn r2726) Fix last commit
video/win32_v.c
win32.c
--- a/video/win32_v.c	Wed Jul 27 19:22:38 2005 +0000
+++ b/video/win32_v.c	Wed Jul 27 19:25:50 2005 +0000
@@ -21,7 +21,6 @@
 	HPALETTE gdi_palette;
 	int width,height;
 	int width_org, height_org;
-	bool cursor_visible;
 	bool switch_driver;
 	bool fullscreen;
 	bool double_size;
@@ -632,7 +631,6 @@
 static const char *Win32GdiStart(const char * const *parm)
 {
 	memset(&_wnd, 0, sizeof(_wnd));
-	_wnd.cursor_visible = true;
 
 	RegisterWndClass();
 
--- a/win32.c	Wed Jul 27 19:22:38 2005 +0000
+++ b/win32.c	Wed Jul 27 19:25:50 2005 +0000
@@ -40,6 +40,8 @@
 #endif
 
 
+static bool cursor_visible = true;
+
 bool MyShowCursor(bool show)
 {
 	if (_wnd.cursor_visible == show) return show;