summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-02-18 17:54:02 +0000
committersr55 <[email protected]>2008-02-18 17:54:02 +0000
commit00cb00b5d1b8d5e704b03425d6f16f506cce61e4 (patch)
tree747fec59f30cc7161cef6776941820a3bdd84267
parent5e400b7710cc6bb5a6b45f97cfe6d2737b0c33d5 (diff)
WinGui:
- Fixed small regex bug in the destination field of the query parser. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1289 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/C#/Functions/QueryParser.cs2
-rw-r--r--win/C#/Properties/Settings.Designer.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index bc01a53fa..be3ac7424 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 6cf86153e..5f259f239 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"]));