Thanks Tommi Laukkanen for a patch that allows the

CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to
pass on Windows. Fixes Mantis #3104.
0.6.3-post-fixes
Mike Mazur 2009-02-09 00:59:02 +00:00
parent d01fffb8b5
commit 9a33a4733e
1 changed files with 7 additions and 3 deletions

View File

@ -145,6 +145,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
m_braceCount--;
//retstr += GenerateLine("}");
// Removes all carriage return characters which may be generated in Windows platform. Is there
// cleaner way of doing this?
retstr=retstr.Replace("\r", "");
return retstr;
}