summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-01-09 21:16:41 +0000
committersr55 <[email protected]>2008-01-09 21:16:41 +0000
commitbcf27d8249b6ed7d446ea5c501c0398ebd2d44ab (patch)
tree75fda5c4b2a19c8e4a17e641f00f628bdbd57a42 /win
parent9285d8a9613254b84f0f549bce9dfcb629564ff1 (diff)
WinGui:
- Fixed bug in subtitle parsing code. Didn't handle "," in languages git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1182 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/Parsing/Subtitle.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/Parsing/Subtitle.cs b/win/C#/Parsing/Subtitle.cs
index b6908e28a..cf45c02ea 100644
--- a/win/C#/Parsing/Subtitle.cs
+++ b/win/C#/Parsing/Subtitle.cs
@@ -52,7 +52,8 @@ namespace Handbrake.Parsing
public static Subtitle Parse(StringReader output)
{
string curLine = output.ReadLine();
- Match m = Regex.Match(curLine, @"^ \+ ([0-9]*), ([A-Za-z]*) \((.*)\)");
+
+ Match m = Regex.Match(curLine, @"^ \+ ([0-9]*), ([A-Za-z, ]*) \((.*)\)");
if (m.Success && !curLine.Contains("HandBrake has exited."))
{
Subtitle thisSubtitle = new Subtitle();