Mercurial > emacs
changeset 4134:6bd55acfe9b5
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sun, 18 Jul 1993 06:23:32 +0000 |
parents | bd7c1de63152 |
children | 84ea8ebc9858 |
files | src/dispnew.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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