Commit ebc96716 authored by Paul Eggert's avatar Paul Eggert
Browse files

* font.c (Ffont_shape_gstring): Don't assume glyph len fits in 'int'.

parent 85461888
2011-06-18 Paul Eggert <>
* font.c (Ffont_shape_gstring): Don't assume glyph len fits in 'int'.
* fns.c (Ffillarray): Don't assume bool vector size fits in 'int'.
Use much-faster test for byte-length change.
Don't assume string byte-length fits in 'int'.
......@@ -4294,7 +4294,7 @@ created glyph-string. Otherwise, the value is nil. */)
struct font *font;
Lisp_Object font_object, n, glyph;
int i, j, from, to;
EMACS_INT i, j, from, to;
if (! composition_gstring_p (gstring))
signal_error ("Invalid glyph-string: ", gstring);
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