Commit 7a6f7fea authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(Fclear_font_cache): Pass correct cache argument to

font_clear_cache.
parent 6fe539d2
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
......
......@@ -4479,15 +4479,15 @@ DEFUN ("clear-font-cache", Fclear_font_cache, Sclear_font_cache, 0, 0, 0,
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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment