diff options
-rw-r--r-- | Userland/Applications/HexEditor/HexEditor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Applications/HexEditor/HexEditor.cpp b/Userland/Applications/HexEditor/HexEditor.cpp index 409535ab9b..9281bbe830 100644 --- a/Userland/Applications/HexEditor/HexEditor.cpp +++ b/Userland/Applications/HexEditor/HexEditor.cpp @@ -93,9 +93,8 @@ void HexEditor::fill_selection(u8 fill_byte) if (!has_selection()) return; - for (size_t i = m_selection_start; i <= m_selection_end; i++) { + for (size_t i = m_selection_start; i < m_selection_end; i++) m_document->set(i, fill_byte); - } update(); did_change(); |