OSDN Git Service

Send Attachment successfully
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Patch.cpp
index 37776b7..7bebda9 100644 (file)
@@ -136,6 +136,7 @@ int CPatch::Parser(CString &pathfile)
 \r
        m_Body.resize(PatchFile.GetLength() - PatchFile.GetPosition());\r
        PatchFile.Read(&m_Body.at(0),PatchFile.GetLength() - PatchFile.GetPosition());\r
+       m_Body.push_back(0);\r
 \r
        PatchFile.Close();\r
 \r