[svn-commits] seanbright: trunk r730 - /trunk/menuselect.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Mar 29 09:44:24 CDT 2010


Author: seanbright
Date: Mon Mar 29 09:44:20 2010
New Revision: 730

URL: http://svnview.digium.com/svn/menuselect?view=rev&rev=730
Log:
Per rmudgett, when your operands are booleans, != is a logical XOR.

Modified:
    trunk/menuselect.c

Modified: trunk/menuselect.c
URL: http://svnview.digium.com/svn/menuselect/trunk/menuselect.c?view=diff&rev=730&r1=729&r2=730
==============================================================================
--- trunk/menuselect.c (original)
+++ trunk/menuselect.c Mon Mar 29 09:44:20 2010
@@ -1666,7 +1666,7 @@
 		}
 	}
 
-	if (enable_all ^ disable_all) {
+	if (enable_all != disable_all) {
 		struct category *cat;
 
 		AST_LIST_TRAVERSE(&categories, cat, list) {




More information about the svn-commits mailing list