mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
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.
This commit is contained in:
parent
da7a8a8711
commit
e5736cdf2f
Notes:
sideshowbarker
2024-07-17 11:30:40 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: e5736cdf2f
Pull-request: https://github.com/SerenityOS/serenity/pull/13640
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/linusg
2 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue