Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/UI/FileManager/FSFolder.cpp')
-rwxr-xr-xCPP/7zip/UI/FileManager/FSFolder.cpp2
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;