diff options
| author | Ken Raeburn | 2002-05-21 21:35:49 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-05-21 21:35:49 +0000 |
| commit | 1b65564c097462fba57cbc34c2f64e23c46693d0 (patch) | |
| tree | 30c2d641ec75eb796e844d1722f9c945268cb338 /src | |
| parent | 171a7d5d7c1d819593c7dfadfb22330d03c3e549 (diff) | |
| download | emacs-1b65564c097462fba57cbc34c2f64e23c46693d0.tar.gz emacs-1b65564c097462fba57cbc34c2f64e23c46693d0.zip | |
* w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for
now, when the address is needed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32fns.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1b5fe7d6bcf..6cd3d78d23b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | ||
| 2 | |||
| 3 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | ||
| 4 | now, when the address is needed. | ||
| 5 | |||
| 1 | 2002-05-21 Colin Walters <walters@gnu.org> | 6 | 2002-05-21 Colin Walters <walters@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (shortlisp): Add font-core.el. | 8 | * Makefile.in (shortlisp): Add font-core.el. |
diff --git a/src/w32fns.c b/src/w32fns.c index a19aa953f37..6053e1d4ca3 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -7252,7 +7252,7 @@ enum_font_maybe_add_to_list (lpef, logfont, match_charset, width) | |||
| 7252 | if (NILP (Fmember (font_name, lpef->list))) | 7252 | if (NILP (Fmember (font_name, lpef->list))) |
| 7253 | { | 7253 | { |
| 7254 | *lpef->tail = Fcons (Fcons (build_string (buf), width), Qnil); | 7254 | *lpef->tail = Fcons (Fcons (build_string (buf), width), Qnil); |
| 7255 | lpef->tail = &(XCDR (*lpef->tail)); | 7255 | lpef->tail = &(XCDR_AS_LVALUE (*lpef->tail)); |
| 7256 | lpef->numFonts++; | 7256 | lpef->numFonts++; |
| 7257 | } | 7257 | } |
| 7258 | } | 7258 | } |