Skip to content

Commit 108582f

Browse files
committed
fix bug #7
1 parent bd06555 commit 108582f

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

include/entropy/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#pragma once
22

3-
#define VERSION "1.8.0"
4-
#define DATE "27.01.2026"
3+
#define VERSION "1.8.1"
4+
#define DATE "28.01.2026"

src/ui.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,17 @@ void renderHexViewWindow(UiState &uiState, const AppState &appState) {
107107
}
108108
ImGui::SameLine();
109109
}
110-
ImGui::Text(" | ");
110+
111+
size_t bytesInRow = std::min<size_t>(16, uiState.currentSectorData.size() - i);
112+
113+
for (size_t j = bytesInRow; j < 16; ++j) {
114+
ImGui::Text(" "); // 2 hex chars + space
115+
ImGui::SameLine();
116+
}
117+
118+
ImGui::Text("| ");
111119
ImGui::SameLine();
120+
112121
for (size_t j = 0; j < 16 && i + j < uiState.currentSectorData.size(); ++j) {
113122
char c = uiState.currentSectorData[i + j];
114123
size_t offset = i + j;

0 commit comments

Comments
 (0)