1
0
mirror of synced 2025-01-31 03:53:44 +01:00

ui: Added back missing selection byte count value

This commit is contained in:
WerWolv 2022-06-25 23:01:38 +02:00
parent 6506291e4e
commit b1b33b2ae4

View File

@ -967,7 +967,7 @@ namespace hex::plugin::builtin {
auto selection = this->getSelection();
std::string value;
if (this->isSelectionValid())
value = hex::format("0x{0:08X} - 0x{1:08X} ({0} - {1})", selection.getStartAddress(), selection.getEndAddress());
value = hex::format("0x{0:08X} - 0x{1:08X} ({0} - {1}) ({2} {3})", selection.getStartAddress(), selection.getEndAddress(), selection.getSize(), selection.getSize() == 1 ? "Byte" : "Bytes");
else
value = std::string("hex.builtin.view.hex_editor.selection.none"_lang);