remove debug print when loading rtf

This commit is contained in:
Tim Young 2017-06-16 13:17:25 -05:00
parent e725a88bb1
commit 11029d87dd

View File

@ -117,15 +117,11 @@ namespace EduNetworkBuilder
int posincompare = 0; int posincompare = 0;
bool Foundit = false; bool Foundit = false;
bool FoundPartMatch = false; bool FoundPartMatch = false;
int posinfile = 0;
using (var ms = new MemoryStream()) using (var ms = new MemoryStream())
{ {
var sw = new StreamWriter(ms); var sw = new StreamWriter(ms);
foreach (char c in What) foreach (char c in What)
{ {
posinfile++;
if (posinfile % 10000 == 0)
Console.WriteLine(" Place " + posinfile);
if (Foundit) if (Foundit)
{ {
if (c == '{') count++; if (c == '{') count++;
@ -184,7 +180,6 @@ namespace EduNetworkBuilder
} }
} }
} }
Console.WriteLine(" Place " + posinfile);
sw.Flush(); sw.Flush();
ms.Position = 0; ms.Position = 0;
var sr = new StreamReader(ms); var sr = new StreamReader(ms);