changeset 50412:49cba7ce673a

(choose_face_font): Make sure *NEEDS_OVERSTRIKE is always set.
author Miles Bader <miles@gnu.org>
date Thu, 03 Apr 2003 01:40:19 +0000
parents 62a57aa6353a
children 87d8602bde3d
files src/xfaces.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Thu Apr 03 00:53:49 2003 +0000
+++ b/src/xfaces.c	Thu Apr 03 01:40:19 2003 +0000
@@ -1,5 +1,5 @@
 /* xfaces.c -- "Face" primitives.
-   Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002
+   Copyright (C) 1993, 1994, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation.
 
 This file is part of GNU Emacs.
@@ -6439,6 +6439,9 @@
   struct font_name *fonts;
   int nfonts, width_ratio;
 
+  if (needs_overstrike)
+    *needs_overstrike = 0;
+
   /* Get (foundry and) family name and registry (and encoding) name of
      a font for C.  */
   pattern = fontset_font_pattern (f, fontset, c);