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
parent
d01fffb8b5
commit
9a33a4733e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue