# HG changeset patch # User reimar # Date 1162667943 0 # Node ID ee9982a6ef5c61bfac538cd931489e1910b6bbe2 # Parent 37f5cd897b0375cde63802299f925c3827443ff5 Remove completely useless cursor variable. diff -r 37f5cd897b03 -r ee9982a6ef5c libvo/w32_common.c --- a/libvo/w32_common.c Sat Nov 04 18:11:17 2006 +0000 +++ b/libvo/w32_common.c Sat Nov 04 19:19:03 2006 +0000 @@ -30,7 +30,6 @@ static HINSTANCE hInstance; HWND vo_window = 0; -static int cursor = 1; static int event_flags; static int mon_cnt; @@ -240,16 +239,10 @@ if (vo_fs || vo_ontop) layer = HWND_TOPMOST; if (vo_fs) { changeMode(); - if (cursor) { ShowCursor(0); - cursor = 0; - } } else { resetMode(); - if (!cursor) { ShowCursor(1); - cursor = 1; - } } updateScreenProperties(); ShowWindow(vo_window, SW_HIDE);