mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch
'origin/GP-3763-dragonmacher-dt-tootlips-hex' (Closes #5682)
This commit is contained in:
@@ -378,10 +378,13 @@ public abstract class HTMLDataTypeRepresentation {
|
|||||||
if (length < 0) {
|
if (length < 0) {
|
||||||
return new TextLine(" <i>Unsized</i>");
|
return new TextLine(" <i>Unsized</i>");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dataType.isZeroLength()) {
|
if (dataType.isZeroLength()) {
|
||||||
length = 0;
|
return new TextLine("0");
|
||||||
}
|
}
|
||||||
return new TextLine(Integer.toString(length));
|
|
||||||
|
return new TextLine(
|
||||||
|
Integer.toString(length) + " (" + NumericUtilities.toHexString(length) + ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean canLinkDataType(DataType dt) {
|
private static boolean canLinkDataType(DataType dt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user