aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2006-07-09 10:56:20 +0000
committerJan Djärv2006-07-09 10:56:20 +0000
commitbdd10de6f7493041cfc9a0f4f9d4c6f9c8396e92 (patch)
tree74ec9d8d0b43cab96a649a5b454dad0d0b852a39 /src
parent21852a64fe5f6c9bac9653b7c8aa79b939712477 (diff)
downloademacs-bdd10de6f7493041cfc9a0f4f9d4c6f9c8396e92.tar.gz
emacs-bdd10de6f7493041cfc9a0f4f9d4c6f9c8396e92.zip
* xfaces.c (realize_non_ascii_face): Set face->extra to NULL.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 7a5f6edfc32..43d1352f335 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -7651,6 +7651,9 @@ realize_non_ascii_face (f, font_id, base_face)
7651 face = (struct face *) xmalloc (sizeof *face); 7651 face = (struct face *) xmalloc (sizeof *face);
7652 *face = *base_face; 7652 *face = *base_face;
7653 face->gc = 0; 7653 face->gc = 0;
7654#ifdef USE_FONT_BACKEND
7655 face->extra = NULL;
7656#endif
7654 7657
7655 /* Don't try to free the colors copied bitwise from BASE_FACE. */ 7658 /* Don't try to free the colors copied bitwise from BASE_FACE. */
7656 face->colors_copied_bitwise_p = 1; 7659 face->colors_copied_bitwise_p = 1;