From: sr55 Date: Mon, 18 Feb 2008 17:54:02 +0000 (+0000) Subject: WinGui: X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=83bcd702de44c3c8f72ce7dcf8fd733cf4978c03;p=handbrake-jp%2Fhandbrake-jp-git.git WinGui: - Fixed small regex bug in the destination field of the query parser. git-svn-id: svn://localhost/HandBrake/trunk@1289 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index bc01a53f..be3ac742 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -579,7 +579,7 @@ namespace Handbrake.Functions Match format = Regex.Match(input, @"-f ([a-z0-9a-z0-9a-z0-9]*)"); //Destination - Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9:\\\s\.]+)(?:\"")"); + Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9_\-:\\\s\.]+)(?:\"")"); Match destination = r2.Match(input.Replace('"', '\"')); Match width = Regex.Match(input, @"-w ([0-9]*)"); Match height = Regex.Match(input, @"-l ([0-9]*)"); diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs index 6cf86153..5f259f23 100644 --- a/win/C#/Properties/Settings.Designer.cs +++ b/win/C#/Properties/Settings.Designer.cs @@ -121,7 +121,7 @@ namespace Handbrake.Properties { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("1144")] + [global::System.Configuration.DefaultSettingValueAttribute("995")] public int hb_build { get { return ((int)(this["hb_build"]));