diff --git a/Applications/HexEditor/HexEditor.h b/Applications/HexEditor/HexEditor.h index 0fd0d169e3..e47eedeec3 100644 --- a/Applications/HexEditor/HexEditor.h +++ b/Applications/HexEditor/HexEditor.h @@ -82,8 +82,8 @@ private: int m_bytes_per_row { 16 }; ByteBuffer m_buffer; bool m_in_drag_select { false }; - int m_selection_start { -1 }; - int m_selection_end { -1 }; + int m_selection_start { 0 }; + int m_selection_end { 0 }; HashMap m_tracked_changes; int m_position { 0 }; int m_byte_position { 0 }; // 0 or 1