Commit 27ccc379 authored by Paul Eggert's avatar Paul Eggert
Browse files

* composite.c (composition_gstring_put_cache): Use unsigned integer.

parent dcd5c89a
2011-04-05 Paul Eggert <eggert@cs.ucla.edu>
* composite.c (composition_gstring_put_cache): Use unsigned integer.
2011-04-04 Paul Eggert <eggert@cs.ucla.edu>
* composite.h, composite.c (composition_gstring_put_cache):
......@@ -672,11 +672,11 @@ composition_gstring_put_cache (Lisp_Object gstring, EMACS_INT len)
hash = h->hashfn (h, header);
if (len < 0)
{
len = LGSTRING_GLYPH_LEN (gstring);
for (i = 0; i < len; i++)
if (NILP (LGSTRING_GLYPH (gstring, i)))
EMACS_UINT j, glyph_len = LGSTRING_GLYPH_LEN (gstring);
for (j = 0; j < glyph_len; j++)
if (NILP (LGSTRING_GLYPH (gstring, j)))
break;
len = i;
len = j;
}
copy = Fmake_vector (make_number (len + 2), Qnil);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment