]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - menu/m_driver.c
ncurses 5.6 - patch 20080614
[ncurses.git] / menu / m_driver.c
index c32a1d2fcd790eb0ffd510bad1a8b314928984e6..d29c6024a7e3a0c235a2ed0973b4b5a15ab6762f 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "menu.priv.h"
 
 
 #include "menu.priv.h"
 
-MODULE_ID("$Id: m_driver.c,v 1.24 2005/04/09 20:40:25 tom Exp $")
+MODULE_ID("$Id: m_driver.c,v 1.25 2005/11/26 20:46:59 tom Exp $")
 
 /* Macros */
 
 
 /* Macros */
 
@@ -157,7 +157,7 @@ _nc_Match_Next_Character_In_Item_Name
          if (++idx >= menu->nitems)
            idx = 0;
        }
          if (++idx >= menu->nitems)
            idx = 0;
        }
-      if (Is_Sub_String((menu->opt & O_IGNORECASE) != 0,
+      if (Is_Sub_String((bool)((menu->opt & O_IGNORECASE) != 0),
                        menu->pattern,
                        menu->items[idx]->name.str)
        )
                        menu->pattern,
                        menu->items[idx]->name.str)
        )