diff --git a/Source/exehead/components.c b/Source/exehead/components.c index 50263431..b1ef5032 100644 --- a/Source/exehead/components.c +++ b/Source/exehead/components.c @@ -55,6 +55,7 @@ static unsigned int NSISCALL _RefreshSectionGroups(unsigned int i, int first_cal if (flags & SF_SECGRP) { ni = _RefreshSectionGroups(i, 0); + flags = sections[i].flags; } if (flags & SF_SECGRPEND) {