# HG changeset patch # User Jan Dj¸«£rv # Date 1259488130 0 # Node ID f276530df5ef4f5b6329cc162b131f0226ad3a07 # Parent cbe5e21da2e49efaa240260a51b1819c1f3c6f0e frame.c (frame_make_pointer_invisible) (frame_make_pointer_visible): Declare f before statements. diff -r cbe5e21da2e4 -r f276530df5ef src/ChangeLog --- a/src/ChangeLog Sat Nov 28 21:32:06 2009 +0000 +++ b/src/ChangeLog Sun Nov 29 09:48:50 2009 +0000 @@ -1,3 +1,8 @@ +2009-11-29 Jan DjƤrv + + * frame.c (frame_make_pointer_invisible) + (frame_make_pointer_visible): Declare f before statements. + 2009-11-28 Eli Zaretskii * Makefile.in [!AUTO_DEPEND]: Remove outdated comment about diff -r cbe5e21da2e4 -r f276530df5ef src/frame.c --- a/src/frame.c Sat Nov 28 21:32:06 2009 +0000 +++ b/src/frame.c Sun Nov 29 09:48:50 2009 +0000 @@ -4377,10 +4377,11 @@ { if (! NILP (Vmake_pointer_invisible)) { + struct frame *f; if (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))) return; - struct frame *f = SELECTED_FRAME (); + f = SELECTED_FRAME (); if (f && !f->pointer_invisible && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) { @@ -4396,11 +4397,12 @@ { /* We don't check Vmake_pointer_invisible here in case the pointer was invisible when Vmake_pointer_invisible was set to nil. */ + struct frame *f; if (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))) return; - struct frame *f = SELECTED_FRAME (); + f = SELECTED_FRAME (); if (f && f->pointer_invisible && f->mouse_moved && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) {