From d25f735b87451585fe4a4f66098619bc0c4d32fd Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 19 Jan 2014 22:26:21 +0900 Subject: [PATCH] composite.c (composition_update_it): Fix previous change. --- src/ChangeLog | 4 ++++ src/composite.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 82a5d68b923..2ef0336388a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-01-19 K. Handa + + * composite.c (composition_update_it): Fix previous change. + 2014-01-18 Eli Zaretskii Fix file name handling on MS-Windows 9X. diff --git a/src/composite.c b/src/composite.c index 40cef814c1d..04cfe5efee0 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1412,7 +1412,7 @@ composition_update_it (struct composition_it *cmp_it, ptrdiff_t charpos, ptrdiff cmp_it->width = 0; for (i = cmp_it->nchars - 1; i >= 0; i--) { - c = XINT (LGSTRING_CHAR (gstring, cmp_it->from + i)); + c = XINT (LGSTRING_CHAR (gstring, from + i)); cmp_it->nbytes += CHAR_BYTES (c); cmp_it->width += CHAR_WIDTH (c); } -- 2.39.2