summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-07-18 06:23:32 +0000
committerJim Blandy <jimb@redhat.com>1993-07-18 06:23:32 +0000
commitaf023a9706140b0002391a2df50d924464ee8816 (patch)
tree32bea668b1a1684f323a2db5407a843dcb4199a7 /src/dispnew.c
parent1adaa0c7f8fa80b064cccc1b3e521404e33b5516 (diff)
downloademacs-af023a9706140b0002391a2df50d924464ee8816.tar.gz
* 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.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
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