Commit 4bf84f7d authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(uniscribe_shape): Shut up compiler warning in LGLYPH_SET_CODE.

parent 19ac2034
2008-08-29 Eli Zaretskii <>
* makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h
* composite.h (LGLYPH_SET_CODE): Cast `val' to EMACS_INT.
* w32uniscribe.c (uniscribe_shape): Shut up compiler warning in
2008-08-29 Kenichi Handa <>
* fileio.c (report_file_error): Don't downcase the first character
......@@ -339,13 +339,18 @@ uniscribe_shape (lgstring)
int lglyph_index = j + done_glyphs;
Lisp_Object lglyph = LGSTRING_GLYPH (lgstring, lglyph_index);
ABC char_metric;
unsigned gl;
if (NILP (lglyph))
lglyph = Fmake_vector (make_number (LGLYPH_SIZE), Qnil);
LGSTRING_SET_GLYPH (lgstring, lglyph_index, lglyph);
LGLYPH_SET_CODE (lglyph, glyphs[j]);
/* Copy to a 32-bit data type to shut up the
compiler warning in LGLYPH_SET_CODE about
comparison being always false. */
gl = glyphs[j];
LGLYPH_SET_CODE (lglyph, gl);
/* Detect clusters, for linking codes back to characters. */
if (attributes[j].fClusterStart)
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