]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill_composite_glyph_string): Make the first arg to
authorJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 01:03:23 +0000 (01:03 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 31 May 2007 01:03:23 +0000 (01:03 +0000)
STORE_XCHARB a valid l-value.

src/xdisp.c

index 1cc8cf106114b147be9ac21d8c7ade8ec9defb78..268def4a0f288650a476519a7837ea3f46d4d0b0 100644 (file)
@@ -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;
     }