summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-01-02 21:15:56 +0000
committersr55 <[email protected]>2014-01-02 21:15:56 +0000
commite6b6f7bd7c7da9c0f8fb100613b40140911398d1 (patch)
tree4670294f44b947f7166bc860f5742b98186c0516 /win/CS/HandBrake.ApplicationServices/Utilities
parentc6e405a1d3f44745af4439129ae3cc48a6b6ffcb (diff)
WinGui: cleanup some warnings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5952 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs2
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs1
2 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs b/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs
index 78e8335c8..cc7dfc43e 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/EnumHelper.cs
@@ -85,7 +85,7 @@ namespace HandBrake.ApplicationServices.Utilities
return val;
}
- if (insensitiveCase && currDescription.ToLower() == description.ToLower() || currDisplay.ToLower() == description.ToLower())
+ if (insensitiveCase && (currDescription.ToLower() == description.ToLower() || currDisplay.ToLower() == description.ToLower()))
{
return val;
}
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs b/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs
index 81d4846ec..8a870adfb 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/Win32.cs
@@ -5,6 +5,7 @@
// <summary>
// Win32 API calls
// </summary>
+// <auto-generated>Disable Stylecop for this file </auto-generated>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Utilities