changeset 45454:3244cd2850b8

* w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for now, when the address is needed.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 21 May 2002 21:35:41 +0000
parents 05d77f58ead5
children 1a864f82e0cb
files src/w32fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Tue May 21 21:22:21 2002 +0000
+++ b/src/w32fns.c	Tue May 21 21:35:41 2002 +0000
@@ -7252,7 +7252,7 @@
       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++;
 	}
     }