diff --git a/pk3DS/Subforms/Patch.cs b/pk3DS/Subforms/Patch.cs index a8721eb..0feb73d 100644 --- a/pk3DS/Subforms/Patch.cs +++ b/pk3DS/Subforms/Patch.cs @@ -49,7 +49,7 @@ internal static bool patchExeFS(string path, string[] oldstr, string[] newstr, s if (old) text = text.Replace(oldString, newString); if (patched) - text = text.Replace(patchedStr, newString); + text = text.Replace(patchedStr, newString + "\0"); } if (ctr == 0)