mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
pattern: Fixed color overriding of struct members when struct has a color set already
Fixes #409
This commit is contained in:
@@ -880,7 +880,7 @@ namespace hex::pl {
|
||||
if (!isFunction) {
|
||||
auto type = parseType();
|
||||
|
||||
if (MATCHES(sequence(IDENTIFIER, SEPARATOR_SQUAREBRACKETOPEN)) && sequence<Not>(SEPARATOR_SQUAREBRACKETOPEN))
|
||||
if (MATCHES(sequence(IDENTIFIER, SEPARATOR_SQUAREBRACKETOPEN) && sequence<Not>(SEPARATOR_SQUAREBRACKETOPEN)))
|
||||
member = parseMemberArrayVariable(type);
|
||||
else if (MATCHES(sequence(IDENTIFIER)))
|
||||
member = parseMemberVariable(type);
|
||||
|
||||
Reference in New Issue
Block a user