From b116830bc0974600668e633d1bdfd7dfed63e6f7 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Mon, 5 Nov 2001 15:02:13 +0000 Subject: [PATCH] (x_display_and_set_cursor): Fix w32 compilation error. --- src/ChangeLog | 14 +++++++++----- src/w32term.c | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4b65a631218..ba2fa496cde 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-05 Sam Steingold + + * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. + 2001-11-05 Andreas Schwab * sound.c (sound_perror): Save errno from being clobbered. @@ -35,14 +39,14 @@ * buffer.c (Fbuffer_local_value): New function. (syms_of_buffer): defsubr it. - + * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local value of `cursor-in-non-selected-windows'. * lisp.h (Qcursor_in_non_selected_windows): New declaration. * xdisp.c (Qcursor_in_non_selected_windows): New variable. (syms_of_xdisp): Initialize it. - + 2001-11-04 Pavel Jan,Bm(Bk * xfns.c (Fx_create_frame): Doc fix. @@ -331,7 +335,7 @@ * xterm.c (x_after_update_window_line): Clear internal border in different circumstances. - + * xterm.c (XTread_socket) : Don't use STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa . @@ -344,7 +348,7 @@ 2001-10-28 Gerd Moellmann * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. - + * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing a loop counter. @@ -355,7 +359,7 @@ * keyboard.c: Change doc-string comments to `new style' [w/`doc:' keyword]. Fix typos in comments. - + * emacs.c (bug_reporting_address): New function. Use it when displaying usage message. diff --git a/src/w32term.c b/src/w32term.c index b9d1a1e9317..7a5185820a1 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -9530,7 +9530,7 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) marked off, draw no cursor. In all other cases, we want a hollow box cursor. */ cursor_non_selected - = !NILP (Fbuffer_local_value (Qcursor_in_non_selected_windows + = !NILP (Fbuffer_local_value (Qcursor_in_non_selected_windows, w->buffer)); new_cursor_width = -1; if (cursor_in_echo_area -- 2.39.5