mirror of https://github.com/WerWolv/ImHex.git
Fixed enums not counting towards size of structs / enums
This commit is contained in:
parent
43d6b48cab
commit
9fe8a0f491
|
@ -450,6 +450,8 @@ namespace hex::lang {
|
||||||
else
|
else
|
||||||
throwEvaluateError("invalid enum underlying type");
|
throwEvaluateError("invalid enum underlying type");
|
||||||
|
|
||||||
|
this->m_currOffset += size;
|
||||||
|
|
||||||
return new PatternDataEnum(startOffset, size, entryPatterns);;
|
return new PatternDataEnum(startOffset, size, entryPatterns);;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue