1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

HexEditor: Show endianness in the value inspector

This commit is contained in:
Eli Youngs 2022-04-16 15:00:27 -07:00 committed by Ali Mohammad Pur
parent f4b8bae65f
commit d20ff6c891
2 changed files with 5 additions and 3 deletions

View file

@ -275,7 +275,7 @@ void HexEditorWidget::update_inspector_values(size_t position)
}
// Populate the model
NonnullRefPtr<ValueInspectorModel> value_inspector_model = make_ref_counted<ValueInspectorModel>();
NonnullRefPtr<ValueInspectorModel> value_inspector_model = make_ref_counted<ValueInspectorModel>(m_value_inspector_little_endian);
if (byte_read_count >= 1) {
u8 unsigned_byte_value = 0;
if (m_value_inspector_little_endian)