aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xfaces.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 193684fab36..eab72435508 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,6 @@
11999-12-22 Gerd Moellmann <gerd@gnu.org> 11999-12-22 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xfaces.c (clear_font_table): Don't use uninitialized local 3 * xfaces.c (realize_x_face): Don't use uninitialized local
4 variable in xassert. 4 variable in xassert.
5 5
61999-12-22 Kenichi Handa <handa@etl.go.jp> 61999-12-22 Kenichi Handa <handa@etl.go.jp>
diff --git a/src/xfaces.c b/src/xfaces.c
index cdb1612f048..dfe8f2e4293 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -778,7 +778,7 @@ clear_font_table (f)
778 Lisp_Object rest, frame; 778 Lisp_Object rest, frame;
779 int i; 779 int i;
780 780
781 xassert (FRAME_X_P (c->f)); 781 xassert (FRAME_X_P (f));
782 782
783 used = (char *) alloca (dpyinfo->n_fonts * sizeof *used); 783 used = (char *) alloca (dpyinfo->n_fonts * sizeof *used);
784 bzero (used, dpyinfo->n_fonts * sizeof *used); 784 bzero (used, dpyinfo->n_fonts * sizeof *used);
@@ -5839,7 +5839,7 @@ realize_x_face (c, attrs, charset)
5839 Lisp_Object unibyte_registry; 5839 Lisp_Object unibyte_registry;
5840 struct gcpro gcpro1; 5840 struct gcpro gcpro1;
5841 5841
5842 xassert (FRAME_X_P (f)); 5842 xassert (FRAME_X_P (c->f));
5843 5843
5844 /* If realizing a face for use in unibyte text, get the X registry 5844 /* If realizing a face for use in unibyte text, get the X registry
5845 and encoding to use from Vface_default_registry. */ 5845 and encoding to use from Vface_default_registry. */