From 4a02ac01cd52134c1c613bd73d404db8dc3c237b Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 25 Dec 2009 22:29:55 +0000 Subject: WinGui: - Make Parsers ReadLine() function even faster. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3045 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Parsing/Parser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/C#') 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); -- cgit v1.2.3