Skip to content

Commit

Permalink
Core Editor: Fix byte hex formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadelessFox committed Aug 22, 2024
1 parent 98f11f9 commit d710add
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class NumberHexHandler extends NumberValueHandler {
@Override
public String getText(@NotNull RTTIType<?> type, @NotNull Object value) {
if (value instanceof Byte v) {
return "0x" + IOUtils.toHexDigits(v, ByteOrder.BIG_ENDIAN);
return "0x" + IOUtils.toHexDigits(v);
} else if (value instanceof Short v) {
return "0x" + IOUtils.toHexDigits(v, ByteOrder.BIG_ENDIAN);
} else if (value instanceof Integer v) {
Expand Down

0 comments on commit d710add

Please sign in to comment.