mirror of
https://github.com/Ryujinx/Opentk.git
synced 2026-07-30 11:09:09 +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())
|
using (StringWriter sw = new StringWriter())
|
||||||
{
|
{
|
||||||
xslt.Transform(doc, null, sw);
|
xslt.Transform(doc, null, sw);
|
||||||
Text = sw.ToString().TrimEnd('\n');
|
Text = sw.ToString().TrimEnd('\r', '\n');
|
||||||
return Text;
|
return Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue