(1.9.0.3) Fix blank line when copying to macros
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Authors>Asriel Camora</Authors>
|
||||
<Version>1.9.0.2</Version>
|
||||
<Version>1.9.0.3</Version>
|
||||
<PackageProjectUrl>https://github.com/WorkingRobot/craftimizer.git</PackageProjectUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ public static class MacroCopy
|
||||
|
||||
var module = RaptureMacroModule.Instance();
|
||||
var macro = module->GetMacro(isShared ? 1u : 0u, (uint)idx);
|
||||
var text = Utf8String.FromString(macroText);
|
||||
var text = Utf8String.FromString(macroText.Replace(Environment.NewLine, "\n"));
|
||||
module->ReplaceMacroLines(macro, text);
|
||||
text->Dtor();
|
||||
IMemorySpace.Free(text);
|
||||
|
||||
Reference in New Issue
Block a user