Mercurial > emacs
diff src/xdisp.c @ 90868:cda1d64776fb
(fill_composite_glyph_string): Make the first arg to
STORE_XCHARB a valid l-value.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 31 May 2007 01:03:23 +0000 |
parents | 648e6c714c7d |
children | e9f94688a064 |
line wrap: on
line diff
--- a/src/xdisp.c Thu May 31 00:59:50 2007 +0000 +++ b/src/xdisp.c Thu May 31 01:03:23 2007 +0000 @@ -19154,11 +19154,12 @@ { Lisp_Object g = LGSTRING_GLYPH (gstring, i); unsigned code; - + XChar2b * store_pos; if (NILP (LGLYPH_FROM (g))) break; code = XUINT (LGLYPH_CODE (g)); - STORE_XCHAR2B (s->char2b + i, code >> 8, code & 0xFF); + store_pos = s->char2b + i; + STORE_XCHAR2B (store_pos, code >> 8, code & 0xFF); } s->width = s->cmp->pixel_width; }