aboutsummaryrefslogtreecommitdiff
path: root/CPP/7zip/UI/Console/PercentPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/7zip/UI/Console/PercentPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/7zip/UI/Console/PercentPrinter.cpp b/CPP/7zip/UI/Console/PercentPrinter.cpp
index 9d392ab..1e3cfce 100644
--- a/CPP/7zip/UI/Console/PercentPrinter.cpp
+++ b/CPP/7zip/UI/Console/PercentPrinter.cpp
@@ -143,7 +143,7 @@ void CPercentPrinter::Print()
143 _s.Add_Space(); 143 _s.Add_Space();
144 144
145 _tempU = FileName; 145 _tempU = FileName;
146 _so->Normalize_UString(_tempU); 146 _so->Normalize_UString_Path(_tempU);
147 _so->Convert_UString_to_AString(_tempU, _temp); 147 _so->Convert_UString_to_AString(_tempU, _temp);
148 if (_s.Len() + _temp.Len() > MaxLen) 148 if (_s.Len() + _temp.Len() > MaxLen)
149 { 149 {
@@ -157,7 +157,7 @@ void CPercentPrinter::Print()
157 _tempU = FileName; 157 _tempU = FileName;
158 _tempU.Delete(len / 2, _tempU.Len() - len); 158 _tempU.Delete(len / 2, _tempU.Len() - len);
159 _tempU.Insert(len / 2, L" . "); 159 _tempU.Insert(len / 2, L" . ");
160 _so->Normalize_UString(_tempU); 160 _so->Normalize_UString_Path(_tempU);
161 _so->Convert_UString_to_AString(_tempU, _temp); 161 _so->Convert_UString_to_AString(_tempU, _temp);
162 if (_s.Len() + _temp.Len() <= MaxLen) 162 if (_s.Len() + _temp.Len() <= MaxLen)
163 break; 163 break;