+2009-12-19 Andreas Schwab <schwab@linux-m68k.org>
+
+ * font.c (Fclear_font_cache): Pass correct cache argument to
+ font_clear_cache.
+
2009-12-16 Andreas Schwab <schwab@linux-m68k.org>
* Makefile.in (prefix-args${EXEEXT}): Don't compile prefix-args.c
if (driver_list->on)
{
Lisp_Object cache = driver_list->driver->get_cache (f);
- Lisp_Object val;
+ Lisp_Object val, tmp;
val = XCDR (cache);
while (! NILP (val)
&& ! EQ (XCAR (XCAR (val)), driver_list->driver->type))
val = XCDR (val);
font_assert (! NILP (val));
- val = XCDR (XCAR (val));
- if (XINT (XCAR (val)) == 0)
+ tmp = XCDR (XCAR (val));
+ if (XINT (XCAR (tmp)) == 0)
{
font_clear_cache (f, XCAR (val), driver_list->driver);
XSETCDR (cache, XCDR (val));