mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 15:57:03 -05:00
Fixed enums not counting towards size of structs / enums
This commit is contained in:
@@ -450,6 +450,8 @@ namespace hex::lang {
|
||||
else
|
||||
throwEvaluateError("invalid enum underlying type");
|
||||
|
||||
this->m_currOffset += size;
|
||||
|
||||
return new PatternDataEnum(startOffset, size, entryPatterns);;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user