]> git.eshelyaron.com Git - emacs.git/commitdiff
* w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for
authorKen Raeburn <raeburn@raeburn.org>
Tue, 21 May 2002 21:35:49 +0000 (21:35 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 21 May 2002 21:35:49 +0000 (21:35 +0000)
now, when the address is needed.

src/ChangeLog
src/w32fns.c

index 1b5fe7d6bcf89e5ec7460d955937ebe3886d8752..6cd3d78d23bed534c6c1d79793cbecc825830414 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-21  Ken Raeburn  <raeburn@gnu.org>
+
+       * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for
+       now, when the address is needed.
+
 2002-05-21  Colin Walters  <walters@gnu.org>
 
        * Makefile.in (shortlisp): Add font-core.el.
index a19aa953f3781bf7c17aefc6fadd2d7f07bc4eab..6053e1d4ca3278959814db65b39429ba7475424f 100644 (file)
@@ -7252,7 +7252,7 @@ enum_font_maybe_add_to_list (lpef, logfont, match_charset, width)
       if (NILP (Fmember (font_name, lpef->list)))
        {
          *lpef->tail = Fcons (Fcons (build_string (buf), width), Qnil);
-         lpef->tail = &(XCDR (*lpef->tail));
+         lpef->tail = &(XCDR_AS_LVALUE (*lpef->tail));
          lpef->numFonts++;
        }
     }