$NetBSD: patch-am,v 1.1 2004/09/12 04:26:20 jlam Exp $

--- menu.c.orig	Sun Feb  1 12:10:57 2004
+++ menu.c
@@ -38,7 +38,9 @@ static void print_enriched_string (int a
   size_t k;
   size_t n = mutt_strlen ((char *)s);
   mbstate_t mbstate;
+#ifndef USE_SLANG_CURSES
   short f1, f2, b1, b2;
+#endif
 
   memset (&mbstate, 0, sizeof (mbstate));
   while (*s)
@@ -47,9 +49,11 @@ static void print_enriched_string (int a
     {
       if (do_color)
       {
+#ifndef USE_SLANG_CURSES
 	pair_content(PAIR_NUMBER(ColorDefs[MT_COLOR_TREE]), &f1, &b1);
 	pair_content(PAIR_NUMBER(attr), &f2, &b2);
 	if (b1 == b2)
+#endif
 	  SETCOLOR (MT_COLOR_TREE);
       }
       while (*s && *s < M_TREE_MAX)
