changeset 2208:e4d18bc42152 draft

(svn r2726) Fix last commit
author tron <tron@openttd.org>
date Wed, 27 Jul 2005 19:25:50 +0000
parents cd136170a9ed
children c387ffcf7c8b
files video/win32_v.c win32.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/video/win32_v.c
+++ b/video/win32_v.c
@@ -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
+++ b/win32.c
@@ -40,6 +40,8 @@
 #endif
 
 
+static bool cursor_visible = true;
+
 bool MyShowCursor(bool show)
 {
 	if (_wnd.cursor_visible == show) return show;