changeset 111438:381161c05d64

* src/xdisp.c (note_mode_line_or_margin_highlight): Initialize Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
author Jan D <jan.h.d@swipnet.se>
date Sun, 07 Nov 2010 12:16:54 +0100
parents 1b60252580de
children 8426207480fa
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Nov 06 19:02:54 2010 -0700
+++ b/src/ChangeLog	Sun Nov 07 12:16:54 2010 +0100
@@ -1,3 +1,8 @@
+2010-11-07  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* xdisp.c (note_mode_line_or_margin_highlight): Initialize
+	Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
+
 2010-11-06  Eli Zaretskii  <eliz@gnu.org>
 
 	* xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
--- a/src/xdisp.c	Sat Nov 06 19:02:54 2010 -0700
+++ b/src/xdisp.c	Sun Nov 07 12:16:54 2010 +0100
@@ -25071,10 +25071,8 @@
   Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f);
 #ifdef HAVE_WINDOW_SYSTEM
   Display_Info *dpyinfo;
-  Cursor cursor;
-#else
+#endif
   Cursor cursor = No_Cursor;
-#endif
   Lisp_Object pointer = Qnil;
   int dx, dy, width, height;
   EMACS_INT charpos;