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

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelfmz <fenix1905@tut.by>2022-10-29 23:45:12 +0300
committerelfmz <fenix1905@tut.by>2022-10-29 23:45:12 +0300
commitf0dc969e1d9006c5120ccbd6d26c9b80bc60e077 (patch)
tree6cafab6da53e287225fb8234468f13f8814d0d7f /far2l/src/panel.cpp
parent5f4ea8b9cf7eef926d32da2142eabec48936c2fc (diff)
cosmetic
Diffstat (limited to 'far2l/src/panel.cpp')
-rw-r--r--far2l/src/panel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/far2l/src/panel.cpp b/far2l/src/panel.cpp
index 2b3f9ef8..747865ce 100644
--- a/far2l/src/panel.cpp
+++ b/far2l/src/panel.cpp
@@ -459,7 +459,7 @@ int Panel::ChangeDiskMenu(int Pos,int FirstCall)
ChDiskItem.Clear();
if (m.path == L"-" ) {
- ChDiskItem.strName = m.info;
+ ChDiskItem.strName = m.col3;
ChDiskItem.Flags|= LIF_SEPARATOR;
ChDisk.AddItem(&ChDiskItem);
ChDiskItem.Flags&= ~LIF_SEPARATOR;
@@ -469,17 +469,17 @@ int Panel::ChangeDiskMenu(int Pos,int FirstCall)
const wchar_t HotKeyStr[] = {m.hotkey ? L'&' : L' ', m.hotkey ? m.hotkey : L' ', m.hotkey ? L' ' : 0, 0};
ChDiskItem.strName = HotKeyStr;
ChDiskItem.strName+= FixedSizeStr(m.path, std::min(mounts.max_path, (size_t)48), true);
- if (mounts.max_usage)
+ if (mounts.max_col2)
{
ChDiskItem.strName+= L' ';
ChDiskItem.strName+= BoxSymbols[BS_V1];
ChDiskItem.strName+= L' ';
- ChDiskItem.strName+= FixedSizeStr(m.usage, std::min(mounts.max_usage, (size_t)24), false);
+ ChDiskItem.strName+= FixedSizeStr(m.col2, std::min(mounts.max_col2, (size_t)24), false);
}
ChDiskItem.strName+= L' ';
ChDiskItem.strName+= BoxSymbols[BS_V1];
ChDiskItem.strName+= L' ';
- ChDiskItem.strName+= FixedSizeStr(m.info, std::min(mounts.max_info, (size_t)24), false);
+ ChDiskItem.strName+= FixedSizeStr(m.col3, std::min(mounts.max_col3, (size_t)24), false);
PanelMenuItem item;
wcsncpy(item.location.path, m.path.CPtr(), ARRAYSIZE(item.location.path) - 1);