aboutsummaryrefslogtreecommitdiffstats
path: root/src/composite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c
index bc5644a4612..af642ad9a72 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -354,7 +354,7 @@ get_composition_id (EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT nchars,
354 354
355 for (i = 1; i < glyph_len; i += 2) 355 for (i = 1; i < glyph_len; i += 2)
356 { 356 {
357 int rule, gref, nref, xoff, yoff; 357 int rule, gref, nref;
358 int this_width; 358 int this_width;
359 float this_left; 359 float this_left;
360 360
@@ -376,7 +376,7 @@ get_composition_id (EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT nchars,
376 | | 376 | |
377 6---7---8 -- descent 377 6---7---8 -- descent
378 */ 378 */
379 COMPOSITION_DECODE_RULE (rule, gref, nref, xoff, yoff); 379 COMPOSITION_DECODE_REFS (rule, gref, nref);
380 this_left = (leftmost 380 this_left = (leftmost
381 + (gref % 3) * (rightmost - leftmost) / 2.0 381 + (gref % 3) * (rightmost - leftmost) / 2.0
382 - (nref % 3) * this_width / 2.0); 382 - (nref % 3) * this_width / 2.0);