1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 17:09:10 +00:00

(svn r2726) Fix last commit

This commit is contained in:
tron
2005-07-27 19:25:50 +00:00
parent 286f8726d5
commit c43653b565
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,6 @@ static struct {
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 void FindResolutions(void)
static const char *Win32GdiStart(const char * const *parm)
{
memset(&_wnd, 0, sizeof(_wnd));
_wnd.cursor_visible = true;
RegisterWndClass();

View File

@@ -40,6 +40,8 @@ static bool _has_console;
#endif
static bool cursor_visible = true;
bool MyShowCursor(bool show)
{
if (_wnd.cursor_visible == show) return show;