projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e88309e
)
; * src/xdisp.c (face_before_or_after_it_pos): Fix thinko (bug#74241).
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 7 Nov 2024 17:34:43 +0000
(19:34 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 7 Nov 2024 17:34:43 +0000
(19:34 +0200)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index a1319e76f49b4f6eff57ea68d002c922798366a1..bc5738e89b7ae1213270d690bd9fd84abb637356 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-4970,7
+4970,7
@@
face_before_or_after_it_pos (struct it *it, bool before_p)
/* For composition, we must check the position after
the composition. */
pos.charpos += it->cmp_it.nchars;
- pos.bytepos += it->
len
;
+ pos.bytepos += it->
cmp_it.nbytes
;
}
else
INC_TEXT_POS (pos, it->multibyte_p);