From: Jan D Date: Sun, 7 Nov 2010 11:16:54 +0000 (+0100) Subject: * src/xdisp.c (note_mode_line_or_margin_highlight): Initialize X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~345 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27f92be77d42b698116445bfe6dbd18ba6546ef4;p=emacs.git * src/xdisp.c (note_mode_line_or_margin_highlight): Initialize Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also. --- 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;