diff options
author | sr55 <[email protected]> | 2009-12-25 22:29:55 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-12-25 22:29:55 +0000 |
commit | 4a02ac01cd52134c1c613bd73d404db8dc3c237b (patch) | |
tree | 562b744017450c3e5bc340c7247a3452970c9c5f /win/C# | |
parent | fb7fb65d6d57edbf52d7ab7759a36a6034aff0a9 (diff) |
WinGui:
- Make Parsers ReadLine() function even faster.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3045 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Parsing/Parser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Parsing/Parser.cs b/win/C#/Parsing/Parser.cs index ed199ed2a..2fc4e6329 100644 --- a/win/C#/Parsing/Parser.cs +++ b/win/C#/Parsing/Parser.cs @@ -92,7 +92,7 @@ namespace Handbrake.Parsing {
string tmp = base.ReadLine();
- _buffer.AppendLine(tmp);
+ _buffer.Append(tmp + Environment.NewLine);
Match m = null;
if (tmp.Contains("Scanning title"))
@@ -112,7 +112,7 @@ namespace Handbrake.Parsing {
string tmp = base.ReadToEnd();
- _buffer.AppendLine(tmp);
+ _buffer.Append(tmp + Environment.NewLine);
if (OnReadToEnd != null)
OnReadToEnd(this, tmp);
|