[svn-commits] qwell: tag autotag_for_asterisk r951 - /tags/autotag_for_asterisk/1.8.8.0-rc2/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 18 14:46:22 CDT 2011


Author: qwell
Date: Tue Oct 18 14:46:18 2011
New Revision: 951

URL: http://svnview.digium.com/svn/menuselect?view=rev&rev=951
Log:
Merge revision 943 from menuselect/trunk/

Modified:
    tags/autotag_for_asterisk/1.8.8.0-rc2/menuselect.c

Modified: tags/autotag_for_asterisk/1.8.8.0-rc2/menuselect.c
URL: http://svnview.digium.com/svn/menuselect/tags/autotag_for_asterisk/1.8.8.0-rc2/menuselect.c?view=diff&rev=951&r1=950&r2=951
==============================================================================
--- tags/autotag_for_asterisk/1.8.8.0-rc2/menuselect.c (original)
+++ tags/autotag_for_asterisk/1.8.8.0-rc2/menuselect.c Tue Oct 18 14:46:18 2011
@@ -292,7 +292,7 @@
 				mem->defaultenabled = cur3->child->value.opaque;
 			}
 
-			if (!cat->positive_output && (!mem->defaultenabled || !strcasecmp(mem->defaultenabled, "yes"))) {
+			if (!cat->positive_output && !(mem->defaultenabled && strcasecmp(mem->defaultenabled, "no"))) {
 				mem->was_enabled = mem->enabled = 1;
 				print_debug("Enabling %s because the category does not have positive output\n", mem->name);
 			}




More information about the svn-commits mailing list