From d0167372fd1d93075dd0a57559e2a6ce8aa5d878 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 21 Nov 2007 00:26:15 +0000 Subject: [PATCH] (Fdelete_frame): Call font_update_drivers only when USE_FONT_BACKEND is defined.. --- src/frame.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frame.c b/src/frame.c index 7151335518..f081de50f2 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1485,8 +1485,10 @@ The functions are run with one arg, the frame to be deleted. */) memory. */ free_glyphs (f); +#ifdef USE_FONT_BACKEND /* Give chance to each font driver to free a frame specific data. */ font_update_drivers (f, Qnil); +#endif /* USE_FONT_BACKEND */ /* Mark all the windows that used to be on FRAME as deleted, and then remove the reference to them. */ -- 2.39.2