diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-04-12 18:59:23 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-27 00:02:24 +0200 |
commit | e5736cdf2fd44d82adb95ef0b4f243fe334f51a6 (patch) | |
tree | 2bda153b4f881ecae3895b87f1377d1b42cc8a70 /Userland/Applications/HexEditor/ValueInspectorModel.h | |
parent | da7a8a8711faa56514cd6c2c2788b5fe8ebaf869 (diff) | |
download | serenity-e5736cdf2fd44d82adb95ef0b4f243fe334f51a6.zip |
HexEditor: Add ASCII to the value inspector
This is kind of redundant but probably easier to read than the ASCII
column. Also, it seems appropriate after we add other character
encodings.
Diffstat (limited to 'Userland/Applications/HexEditor/ValueInspectorModel.h')
-rw-r--r-- | Userland/Applications/HexEditor/ValueInspectorModel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/HexEditor/ValueInspectorModel.h b/Userland/Applications/HexEditor/ValueInspectorModel.h index de38cfd4fb..64fcbf20dc 100644 --- a/Userland/Applications/HexEditor/ValueInspectorModel.h +++ b/Userland/Applications/HexEditor/ValueInspectorModel.h @@ -26,6 +26,7 @@ public: UnsignedLong, Float, Double, + ASCII, __Count }; @@ -90,6 +91,8 @@ public: return "Float"; case Double: return "Double"; + case ASCII: + return "ASCII"; default: return ""; } @@ -112,6 +115,7 @@ public: switch (selected_type) { case SignedByte: case UnsignedByte: + case ASCII: return 1; case SignedShort: case UnsignedShort: |