From d1d77fd3391c54ae9cc7b68256309aa00c95e209 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 27 Jun 2015 08:37:42 -0700 Subject: [PATCH] Include additional padding for existing patch file --- pk3DS/Subforms/Patch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)