ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/logger.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/logger.cs (file contents):
Revision 149 by william, Thu May 10 15:30:37 2012 UTC vs.
Revision 150 by william, Sun May 27 23:59:22 2012 UTC

--- trunk/RomCheater.Logging/logger.cs	2012/05/27 23:34:33	149
+++ trunk/RomCheater.Logging/logger.cs	2012/05/27 23:59:22	150
@@ -106,7 +106,7 @@ namespace RomCheater.Logging
         {
             bool hasflag = false;
             TValue value = this.CurrentValue;
-            if (!(EnumNameValuePair<TValue>.bitwise_and(flag, value)).Equals(0))
+            if (!(EnumNameValuePair<TValue>.bitwise_and(flag, value)).Equals(flag))
                 hasflag = true;
             return hasflag;
         }