diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2007-10-24 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:55 +0300 |
commit | acd742622d1e0daf50ae815bec4ddb2143bafbf5 (patch) | |
tree | 9726a4b8de0935af6c892a2b8d632284f37570c4 /CPP/7zip/UI/FileManager/FSFolder.cpp | |
parent | b67ffe691bddceb89b47dd09a60203b77a2b72ed (diff) |
4.56 beta
Diffstat (limited to 'CPP/7zip/UI/FileManager/FSFolder.cpp')
-rwxr-xr-x | CPP/7zip/UI/FileManager/FSFolder.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CPP/7zip/UI/FileManager/FSFolder.cpp b/CPP/7zip/UI/FileManager/FSFolder.cpp index f6994066..aeb3b333 100755 --- a/CPP/7zip/UI/FileManager/FSFolder.cpp +++ b/CPP/7zip/UI/FileManager/FSFolder.cpp @@ -185,7 +185,6 @@ bool CFSFolder::LoadComments() file.Read(p, (UInt32)length, processedSize); p[length] = 0; s.ReleaseBuffer(); - s.Replace("\r\n", "\n"); if (processedSize != length) return false; file.Close(); @@ -218,7 +217,6 @@ bool CFSFolder::SaveComments() Byte bom [] = { 0xEF, 0xBB, 0xBF, 0x0D, 0x0A }; file.Write(bom , sizeof(bom), processedSize); } - utfString.Replace("\n", "\r\n"); file.Write(utfString, utfString.Length(), processedSize); _commentsAreLoaded = false; return true; |