From: Jim Blandy Date: Sun, 18 Jul 1993 06:23:32 +0000 (+0000) Subject: * dispnew.c (direct_output_for_insert): By the time this function X-Git-Tag: emacs-19.34~11717 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c02e3004672b0a09de44e55b083afc93b137a7a4;p=emacs.git * dispnew.c (direct_output_for_insert): By the time this function is called, we have already inserted the character into the buffer; the proper buffer position to pass to compute_char_face is point - 1, not point. --- diff --git a/src/dispnew.c b/src/dispnew.c index ed392e0eddf..32c89674b44 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -879,7 +879,7 @@ direct_output_for_insert (g) { #ifdef HAVE_X_WINDOWS int dummy; - int face = compute_char_face (frame, w, point, -1, -1, &dummy); + int face = compute_char_face (frame, w, point - 1, -1, -1, &dummy); #else int face = 0; #endif