# HG changeset patch # User Jim Blandy # Date 742976612 0 # Node ID 6bd55acfe9b5d23eb9f0ba900bf9f163d6b61f29 # Parent bd7c1de63152158f1088aeae746f3c244067634a * 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 -r bd7c1de63152 -r 6bd55acfe9b5 src/dispnew.c --- a/src/dispnew.c Sun Jul 18 06:22:37 1993 +0000 +++ b/src/dispnew.c Sun Jul 18 06:23:32 1993 +0000 @@ -879,7 +879,7 @@ { #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