Display longs as hex if xlong is used

This commit is contained in:
baldurk
2019-09-06 22:24:56 +01:00
parent a50513e561
commit e1eaf07f2e
+2 -1
View File
@@ -461,7 +461,8 @@ QList<FormatElement> FormatElement::ParseFormatString(const QString &formatStrin
}
}
if(basetype == lit("xint") || basetype == lit("xshort") || basetype == lit("xbyte"))
if(basetype == lit("xlong") || basetype == lit("xint") || basetype == lit("xshort") ||
basetype == lit("xbyte"))
hex = true;
if(fmt.compType == CompType::Typeless)