mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 08:11:08 +00:00
Trim the final endline regardless of operating system.
Fixes differences between bindings generated on Windows and Linux/Mac.
This commit is contained in:
parent
1a1ef03396
commit
9777afdb71
|
@ -77,7 +77,7 @@ namespace Bind
|
|||
using (StringWriter sw = new StringWriter())
|
||||
{
|
||||
xslt.Transform(doc, null, sw);
|
||||
Text = sw.ToString().TrimEnd('\n');
|
||||
Text = sw.ToString().TrimEnd('\r', '\n');
|
||||
return Text;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue