From 20c41c132060b779471d71c023b4feae723be223 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 31 May 2007 01:03:23 +0000 Subject: [PATCH] (fill_composite_glyph_string): Make the first arg to STORE_XCHARB a valid l-value. --- src/xdisp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 1cc8cf10611..268def4a0f2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -19154,11 +19154,12 @@ fill_composite_glyph_string (s, base_face, overlaps) { 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; } -- 2.39.5