composite.c (composition_update_it): Fix previous change.

This commit is contained in:
Kenichi Handa 2014-01-19 22:26:21 +09:00
parent 4ff6d92ddd
commit d25f735b87
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-01-19 K. Handa <handa@gnu.org>
* composite.c (composition_update_it): Fix previous change.
2014-01-18 Eli Zaretskii <eliz@gnu.org>
Fix file name handling on MS-Windows 9X.

View file

@ -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);
}