diff src/fontset.c @ 91668:aeadaa72f7b1

(free_face_fontset): Use FONTSET_FROM_ID. (syms_of_fontset): Use ASET.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 08 Feb 2008 16:20:29 +0000
parents 53399782ad84
children 507af35dcead
line wrap: on
line diff
--- a/src/fontset.c	Fri Feb 08 16:18:45 2008 +0000
+++ b/src/fontset.c	Fri Feb 08 16:20:29 2008 +0000
@@ -923,7 +923,7 @@
 {
   Lisp_Object fontset;
 
-  fontset = AREF (Vfontset_table, face->fontset);
+  fontset = FONTSET_FROM_ID (face->fontset);
   xassert (!NILP (fontset) && ! BASE_FONTSET_P (fontset));
   xassert (f == XFRAME (FONTSET_FRAME (fontset)));
   ASET (Vfontset_table, face->fontset, Qnil);
@@ -2432,7 +2432,7 @@
   FONTSET_ID (Vdefault_fontset) = make_number (0);
   FONTSET_NAME (Vdefault_fontset)
     = build_string ("-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default");
-  AREF (Vfontset_table, 0) = Vdefault_fontset;
+  ASET (Vfontset_table, 0, Vdefault_fontset);
   next_fontset_id = 1;
 
   auto_fontset_alist = Qnil;