From 27f92be77d42b698116445bfe6dbd18ba6546ef4 Mon Sep 17 00:00:00 2001 From: Jan D Date: Sun, 7 Nov 2010 12:16:54 +0100 Subject: [PATCH] * src/xdisp.c (note_mode_line_or_margin_highlight): Initialize Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also. --- src/ChangeLog | 5 +++++ src/xdisp.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9f6a54027a6..92675fce0cf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-11-07 Jan Djärv + + * xdisp.c (note_mode_line_or_margin_highlight): Initialize + Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also. + 2010-11-06 Eli Zaretskii * xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L, diff --git a/src/xdisp.c b/src/xdisp.c index b3da4654213..928a37a2b50 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -25071,10 +25071,8 @@ note_mode_line_or_margin_highlight (Lisp_Object window, int x, int y, Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); #ifdef HAVE_WINDOW_SYSTEM Display_Info *dpyinfo; - Cursor cursor; -#else - Cursor cursor = No_Cursor; #endif + Cursor cursor = No_Cursor; Lisp_Object pointer = Qnil; int dx, dy, width, height; EMACS_INT charpos; -- 2.39.5