summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-03-07 00:07:31 +0000
committersr55 <[email protected]>2008-03-07 00:07:31 +0000
commit8cf6e82be22656e77e8c4a723b1507a187fa924b (patch)
treef6799084d503c3c5ec1b8626dc4403316d5b72c0 /win/C#/Functions/QueryParser.cs
parent4e3cd7cbe7ef4caabc1e324d5fb27848a73b7e80 (diff)
WinGui:
- Fixed small localization issue in the query parser in regard to -q option. - Changed update checker so if it fails on the startup update scan, it'll fail silently instead of displaying an error message behind the startup screen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1332 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index be3ac7424..d83c1dc1d 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -812,7 +812,7 @@ namespace Handbrake.Functions
double qConvert = 0;
if (videoQuality.Success != false)
{
- qConvert = double.Parse(videoQuality.ToString().Replace("-q ", "")) * 100;
+ qConvert = double.Parse(videoQuality.ToString().Replace("-q ", ""), Functions.CLI.Culture) * 100;
qConvert = System.Math.Ceiling(qConvert);
thisQuery.q_videoQuality = int.Parse(qConvert.ToString());
}