diff options
author | elfmz <fenix1905@tut.by> | 2022-11-05 20:31:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 20:31:53 +0300 |
commit | 253a6b140797e035eb9301a1632fed2408a837e2 (patch) | |
tree | ed6be316904b5d5ff11b7bfa46e7037fc2ec51d5 /far2l/src/delete.cpp | |
parent | 89eaed71c674aadda536408638e3416bc7f4c053 (diff) |
support full-width/composite characters and true color palette in terminal (#1386)
Added normal support for full-width (CJK etc) and composite (using diacritics) characters.
IMPORTANT: WINPORT API changed in binary incompatible way in order to implement this.
Diffstat (limited to 'far2l/src/delete.cpp')
-rw-r--r-- | far2l/src/delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/far2l/src/delete.cpp b/far2l/src/delete.cpp index c9393fc5..391e6731 100644 --- a/far2l/src/delete.cpp +++ b/far2l/src/delete.cpp @@ -578,7 +578,7 @@ void ShellDeleteMsg(const wchar_t *Name,int Wipe,int Percent) wmemset(Progress+(CurPos),BoxSymbols[BS_X_B0],Length-CurPos); strProgress.ReleaseBuffer(Length); FormatString strTmp; - strTmp<<L" "<<fmt::Width(3)<<Percent<<L"%"; + strTmp<<L" "<<fmt::Expand(3)<<Percent<<L"%"; strProgress+=strTmp; DeleteTitle->Set(L"{%d%%} %ls", Percent, (Wipe ? Msg::DeleteWipeTitle : Msg::DeleteTitle).CPtr()); } |