changeset 26974:561457ff9b17

(clear_font_table): Don't use uninitialized local variable in xassert.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 22 Dec 1999 12:08:33 +0000
parents c270f9ecfecb
children 846d53c9f5a5
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Wed Dec 22 11:41:16 1999 +0000
+++ b/src/xfaces.c	Wed Dec 22 12:08:33 1999 +0000
@@ -778,7 +778,7 @@
   Lisp_Object rest, frame;
   int i;
 
-  xassert (FRAME_X_P (f));
+  xassert (FRAME_X_P (c->f));
 
   used = (char *) alloca (dpyinfo->n_fonts * sizeof *used);
   bzero (used, dpyinfo->n_fonts * sizeof *used);