changeset 36770:bf9b93e0f4b2

(xm_set_menu_resources_from_menu_face): Change #if 0 to #ifndef LESSTIF_VERSION.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 13 Mar 2001 13:16:10 +0000
parents 35df75f3f78d
children 6d432526b84f
files src/xfaces.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue Mar 13 12:51:25 2001 +0000
+++ b/src/xfaces.c	Tue Mar 13 13:16:10 2001 +0000
@@ -4389,11 +4389,10 @@
 
 
 /* Set X resources of menu-widget WIDGET on frame F from face `menu'.
-   This is the LessTif/Motif version.  As of LessTif 0.88 it has the
-   following problems:
-
-   1. Setting the XmNfontList resource leads to an infinite loop
-   somewhere in LessTif.  */
+   This is the LessTif/Motif version.
+
+   As of 2001-03-13, setting the XmNfontList resource with LessTif
+   leads to an infinite loop somewhere in LessTif.  */
 
 static void
 xm_set_menu_resources_from_menu_face (f, widget)
@@ -4430,7 +4429,8 @@
 	  || !UNSPECIFIEDP (LFACE_SLANT (lface))
 	  || !UNSPECIFIEDP (LFACE_HEIGHT (lface))))
     {
-#if 0 /* Setting the font leads to an infinite loop somewhere
+#ifndef LESSTIF_VERSION
+      /* Setting the font leads to an infinite loop somewhere
 	 in LessTif during geometry computation.  */
       XmFontListEntry fe;
       fe = XmFontListEntryCreate ("menu_font", XmFONT_IS_FONT, face->font);