[asterisk-commits] branch russell/autoconf_and_menuselect - r8460 /team/russell/autoconf_and_men...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 23 00:37:04 MST 2006


Author: russell
Date: Mon Jan 23 01:37:03 2006
New Revision: 8460

URL: http://svn.digium.com/view/asterisk?rev=8460&view=rev
Log: (empty)

Modified:
    team/russell/autoconf_and_menuselect/build_tools/menuselect.c

Modified: team/russell/autoconf_and_menuselect/build_tools/menuselect.c
URL: http://svn.digium.com/view/asterisk/team/russell/autoconf_and_menuselect/build_tools/menuselect.c?rev=8460&r1=8459&r2=8460&view=diff
==============================================================================
--- team/russell/autoconf_and_menuselect/build_tools/menuselect.c (original)
+++ team/russell/autoconf_and_menuselect/build_tools/menuselect.c Mon Jan 23 01:37:03 2006
@@ -562,7 +562,10 @@
 			continue;
 		}
 		wmove(menu, j++, max_x / 2 - 10);
-		snprintf(buf, sizeof(buf), "[%s] %d. %s", mem->enabled ? "*" : " ", ++i, !strlen_zero(mem->displayname) ? mem->displayname : mem->name);
+		if (mem->depsfailed)
+			snprintf(buf, sizeof(buf), "XXX %d. %s", ++i, !strlen_zero(mem->displayname) ? mem->displayname : mem->name);
+		else
+			snprintf(buf, sizeof(buf), "[%s] %d. %s", mem->enabled ? "*" : " ", ++i, !strlen_zero(mem->displayname) ? mem->displayname : mem->name);
 		waddstr(menu, buf);
 		if (i == end)
 			break;



More information about the asterisk-commits mailing list