(Ffontset_info): YAILOM (Yet another int/Lisp_Object mixup).

This commit is contained in:
Stefan Monnier 2009-03-13 16:14:20 +00:00
parent ccb012c57e
commit 348db3dd5f
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
2009-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
* fontset.c (fontset_from_font): YAILOM (Yet another int/Lisp_Object
mixup).
* fontset.c (fontset_from_font, Ffontset_info): YAILOM (Yet another
int/Lisp_Object mixup).
2009-03-13 Kenichi Handa <handa@m17n.org>

View file

@ -1965,7 +1965,7 @@ format is the same as above. */)
tables[0] = Fmake_char_table (Qfontset_info, Qnil);
fontsets[0] = fontset;
if (fontset != Vdefault_fontset)
if (!EQ (fontset, Vdefault_fontset))
{
tables[1] = Fmake_char_table (Qnil, Qnil);
XCHAR_TABLE (tables[0])->extras[0] = tables[1];
@ -2042,7 +2042,7 @@ format is the same as above. */)
}
c = to + 1;
}
if (fontset == Vdefault_fontset)
if (EQ (fontset, Vdefault_fontset))
break;
}