[asterisk-commits] branch group/autoconf_and_menuselect r15700 - in /team/group/autoconf_and_men...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 28 12:08:47 MST 2006


Author: russell
Date: Tue Mar 28 13:08:41 2006
New Revision: 15700

URL: http://svn.digium.com/view/asterisk?rev=15700&view=rev
Log:
add MODULEINFO for chan_oss and fix a silly spacing bug in menuselect

Modified:
    team/group/autoconf_and_menuselect/build_tools/menuselect.c
    team/group/autoconf_and_menuselect/channels/chan_oss.c

Modified: team/group/autoconf_and_menuselect/build_tools/menuselect.c
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/build_tools/menuselect.c?rev=15700&r1=15699&r2=15700&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/build_tools/menuselect.c (original)
+++ team/group/autoconf_and_menuselect/build_tools/menuselect.c Tue Mar 28 13:08:41 2006
@@ -597,9 +597,9 @@
 	AST_LIST_TRAVERSE(&categories, cat, list) {
 		wmove(menu, i, max_x / 2 - 10);
 		if (!strlen_zero(cat->displayname))
-			snprintf(buf, sizeof(buf), "%d.%s %s", ++i, i < 9 ? " " : "", cat->displayname);
+			snprintf(buf, sizeof(buf), "%d.%s %s", ++i, i < 10 ? " " : "", cat->displayname);
 		else
-			snprintf(buf, sizeof(buf), "%d.%s %s", ++i, i < 9 ? " " : "", cat->name);
+			snprintf(buf, sizeof(buf), "%d.%s %s", ++i, i < 10 ? " " : "", cat->name);
 		waddstr(menu, buf);
 	}
 
@@ -648,9 +648,9 @@
 		}
 		wmove(menu, j++, max_x / 2 - 10);
 		if (mem->depsfailed)
-			snprintf(buf, sizeof(buf), "XXX %d.%s %s", ++i, i < 9 ? " " : "", mem->name);
+			snprintf(buf, sizeof(buf), "XXX %d.%s %s", ++i, i < 10 ? " " : "", mem->name);
 		else
-			snprintf(buf, sizeof(buf), "[%s] %d.%s %s", mem->enabled ? "*" : " ", ++i, i < 9 ? " " : "", mem->name);
+			snprintf(buf, sizeof(buf), "[%s] %d.%s %s", mem->enabled ? "*" : " ", ++i, i < 10 ? " " : "", mem->name);
 		waddstr(menu, buf);
 		if (i == end)
 			break;

Modified: team/group/autoconf_and_menuselect/channels/chan_oss.c
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/channels/chan_oss.c?rev=15700&r1=15699&r2=15700&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/channels/chan_oss.c (original)
+++ team/group/autoconf_and_menuselect/channels/chan_oss.c Tue Mar 28 13:08:41 2006
@@ -1545,3 +1545,7 @@
 {
 	return ASTERISK_GPL_KEY;
 }
+
+/*** MODULEINFO
+	<depend>osssound</depend>
+ ***/



More information about the asterisk-commits mailing list