summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-03-13 13:16:10 +0000
committerGerd Moellmann <gerd@gnu.org>2001-03-13 13:16:10 +0000
commitd90db069b947ac10c5b133270bed3c289c16ebe2 (patch)
tree6378fce246ee33b1d2808c976b5bdb5a93866ef8
parent2bf50f1dabd5cd277eb714724e78dc84844dd96c (diff)
downloademacs-d90db069b947ac10c5b133270bed3c289c16ebe2.tar.gz
(xm_set_menu_resources_from_menu_face): Change
#if 0 to #ifndef LESSTIF_VERSION.
-rw-r--r--src/xfaces.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 79c07804363..e74147c6377 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4389,11 +4389,10 @@ xm_apply_resources (w, p)
/* 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:
+ This is the LessTif/Motif version.
- 1. Setting the XmNfontList resource leads to an infinite loop
- somewhere in LessTif. */
+ 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 @@ xm_set_menu_resources_from_menu_face (f, widget)
|| !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);