OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 18 Feb 2008 17:54:02 +0000 (17:54 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 18 Feb 2008 17:54:02 +0000 (17:54 +0000)
- 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

win/C#/Functions/QueryParser.cs
win/C#/Properties/Settings.Designer.cs

index bc01a53..be3ac74 100644 (file)
@@ -579,7 +579,7 @@ namespace Handbrake.Functions
             Match format = Regex.Match(input, @"-f ([a-z0-9a-z0-9a-z0-9]*)");\r
 \r
             //Destination\r
-            Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9:\\\s\.]+)(?:\"")");\r
+            Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9_\-:\\\s\.]+)(?:\"")");\r
             Match destination = r2.Match(input.Replace('"', '\"'));\r
             Match width = Regex.Match(input, @"-w ([0-9]*)");\r
             Match height = Regex.Match(input, @"-l ([0-9]*)");\r
index 6cf8615..5f259f2 100644 (file)
@@ -121,7 +121,7 @@ namespace Handbrake.Properties {
         \r
         [global::System.Configuration.UserScopedSettingAttribute()]\r
         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
-        [global::System.Configuration.DefaultSettingValueAttribute("1144")]\r
+        [global::System.Configuration.DefaultSettingValueAttribute("995")]\r
         public int hb_build {\r
             get {\r
                 return ((int)(this["hb_build"]));\r