changeset 40441:024f6efc3f87

(Fface_font): Use UNSPECIFIEDP instead of NILP for the slant attribute if FRAME is t.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 29 Oct 2001 12:21:56 +0000
parents 6edf1e051b27
children 0af29fd7072d
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon Oct 29 12:21:26 2001 +0000
+++ b/src/xfaces.c	Mon Oct 29 12:21:56 2001 +0000
@@ -4686,7 +4686,7 @@
 	  && !EQ (LFACE_WEIGHT (lface), Qnormal))
 	result = Fcons (Qbold, result);
 
-      if (!NILP (LFACE_SLANT (lface))
+      if (!UNSPECIFIEDP (LFACE_SLANT (lface))
 	  && !EQ (LFACE_SLANT (lface), Qnormal))
 	result = Fcons (Qitalic, result);