changeset 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 129b35b0274f
children 9a1ccf2dfd96
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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;
     }