summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-02-12 20:37:59 +0000
committersr55 <[email protected]>2013-02-12 20:37:59 +0000
commitd72b432378105f191bc7bf6f756bb7a7533dc79a (patch)
treec76b29f4e7248918f0011e9340d51bb3f9a7bfed /win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs
parent3a5365f662fdd94d12733e9c7b1e09745697b532 (diff)
WinGui: A Stylecop cleanup pass on Interop Library. Note, moved the Eventargs into their own package.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5248 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs
index 084005d68..11246230c 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Utilities.cs
@@ -11,6 +11,9 @@ namespace HandBrake.Interop
{
using HandBrake.Interop.Model.Encoding;
+ /// <summary>
+ /// The utilities.
+ /// </summary>
public static class Utilities
{
/// <summary>
@@ -23,6 +26,7 @@ namespace HandBrake.Interop
/// The b.
/// </param>
/// <returns>
+ /// The greatest common factor
/// </returns>
public static int GreatestCommonFactor(int a, int b)
{
@@ -40,10 +44,8 @@ namespace HandBrake.Interop
{
return GreatestCommonFactor(a % b, b);
}
- else
- {
- return GreatestCommonFactor(a, b % a);
- }
+
+ return GreatestCommonFactor(a, b % a);
}
/// <summary>