1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

remove some crufty line endings

This commit is contained in:
Kevin Glynn 2011-07-25 09:45:28 +02:00
parent e8f5380597
commit 0c6c57f855

View File

@ -427,8 +427,8 @@ namespace Twiglet.CS2J.Translator
if (lines.Length <= numLines) {
return inp;
}
lines[numLines] = Regex.Replace(lines[numLines], "\\w", "x");^M
return String.Join(Environment.NewLine, lines);^M
lines[numLines] = Regex.Replace(lines[numLines], "\\w", "x");
return String.Join(Environment.NewLine, lines);
}
// Here's where we do the real work...