summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-26 22:39:19 +0000
committersr55 <[email protected]>2010-02-26 22:39:19 +0000
commit16f7933765671ab563d17620b071cdaf99d98bbf (patch)
treef238dbe763595acc61933206d60ba125d1a660b0 /win/C#/Functions/PresetLoader.cs
parent8c3709d289a996567d459a92d64378ddebb7d2f9 (diff)
WinGui:
- Few StyleCop warnings cleared up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3140 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r--win/C#/Functions/PresetLoader.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index 95d09e5f5..f5153e970 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -186,9 +186,9 @@ namespace Handbrake.Functions
double x264Step = cqStep;
double presetValue = presetQuery.VideoQuality;
- double x = 51/x264Step;
+ double x = 51 / x264Step;
- double calculated = presetValue/x264Step;
+ double calculated = presetValue / x264Step;
calculated = x - calculated;
int.TryParse(calculated.ToString(), out value);