diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2015-06-15 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:54 +0300 |
commit | 54490d51d5c6b0d794dcbad2d634d4c95fc25b6c (patch) | |
tree | c3c413656432c0ef87b2841c80e42b55ad17d4e8 /CPP/7zip/UI/FileManager/OverwriteDialog.cpp | |
parent | 0713a3ab803e57401f18432148b4139e5fe6e5dd (diff) |
15.0515.05
Diffstat (limited to 'CPP/7zip/UI/FileManager/OverwriteDialog.cpp')
-rw-r--r-- | CPP/7zip/UI/FileManager/OverwriteDialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CPP/7zip/UI/FileManager/OverwriteDialog.cpp b/CPP/7zip/UI/FileManager/OverwriteDialog.cpp index a657bc90..c6feb902 100644 --- a/CPP/7zip/UI/FileManager/OverwriteDialog.cpp +++ b/CPP/7zip/UI/FileManager/OverwriteDialog.cpp @@ -50,7 +50,7 @@ void COverwriteDialog::SetFileInfoControl(int textID, int iconID, sizeString = MyFormatNew(IDS_FILE_SIZE, NumberToString(fileInfo.Size)); const UString &fileName = fileInfo.Name; - int slashPos = fileName.ReverseFind(WCHAR_PATH_SEPARATOR); + int slashPos = fileName.ReverseFind_PathSepar(); UString s1 = fileName.Left(slashPos + 1); UString s2 = fileName.Ptr(slashPos + 1); @@ -58,18 +58,18 @@ void COverwriteDialog::SetFileInfoControl(int textID, int iconID, ReduceString(s2); UString s = s1; - s += L'\n'; + s.Add_LF(); s += s2; - s += L'\n'; + s.Add_LF(); s += sizeString; - s += L'\n'; + s.Add_LF(); if (fileInfo.TimeIsDefined) { FILETIME localFileTime; if (!FileTimeToLocalFileTime(&fileInfo.Time, &localFileTime)) throw 4190402; - s += LangString(IDS_PROP_MTIME); + AddLangString(s, IDS_PROP_MTIME); s += L": "; wchar_t t[32]; ConvertFileTimeToString(localFileTime, t); |