diff options
author | sr55 <[email protected]> | 2009-11-24 21:46:24 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-11-24 21:46:24 +0000 |
commit | 0cae267d5396fb0d622c8ccd95625d78a7a44475 (patch) | |
tree | d71ed7b7d88d3f274ff4c436679e1fbfce88eded /win/C#/Functions | |
parent | c17739c6af65faf402b4c15aba264b70f6baa4fa (diff) |
WinGui:
- First fix for 0.9.4 : Fix a stupid regex bug
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2970 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r-- | win/C#/Functions/Main.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs index 6f8efaa2b..250813df6 100644 --- a/win/C#/Functions/Main.cs +++ b/win/C#/Functions/Main.cs @@ -207,7 +207,7 @@ namespace Handbrake.Functions Properties.Settings.Default.cliLastModified = lastModified;
Process cliProcess = new Process();
- ProcessStartInfo handBrakeCLI = new ProcessStartInfo("HandBrakeCLI.exe", " -u")
+ ProcessStartInfo handBrakeCLI = new ProcessStartInfo("HandBrakeCLI.exe", " -u -v0")
{
UseShellExecute = false,
RedirectStandardError = true,
@@ -225,7 +225,7 @@ namespace Handbrake.Functions while (!cliProcess.HasExited)
{
line = stdOutput.ReadLine() ?? "";
- Match m = Regex.Match(line, @"HandBrake ([0-9.]*)(svn[0-9M]*) \([0-9]*\)");
+ Match m = Regex.Match(line, @"HandBrake ([svnM0-9.]*) \([0-9]*\)");
Match platform = Regex.Match(line, @"- ([A-Za-z0-9\s ]*) -");
if (m.Success)
|