changeset 90805:50209b69d25f

(face_for_font): Check also face->font==font->font.font.
author Kenichi Handa <handa@m17n.org>
date Tue, 17 Apr 2007 08:14:08 +0000
parents 5d649c564ce9
children 1ae136ad0ba0
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon Apr 16 02:49:06 2007 +0000
+++ b/src/xfaces.c	Tue Apr 17 08:14:08 2007 +0000
@@ -6087,6 +6087,7 @@
       if (face->ascii_face == face)
 	continue;
       if (face->ascii_face == base_face
+	  && face->font == font->font.font
 	  && face->font_info == (struct font_info *) font)
 	return face->id;
     }