Archive: Is this a bug?


Is this a bug?
Hopefully this is actually a bug and not just my bad scripting but the

SectionGetFlags "${SECTION}" $0
IntOp $0 $0 & ${SF_SELECTED}
SectionSetFlags "${SECTION}" $0

Combination used to enable a section doesn't appear to work. I've used it by calling the selectsection macro and by inserting the lines manually but either way it doesnt work.

I tested it out by just trying to enable a section in the .onselchange function, so that theoretically whatever you do that section will be enabled, but it doesnt work. Try it out.


It has already been fixed in the latest CVS version. You should use | and not &.