On Mon, Oct 10, 2016 at 3:07 PM, Vojtěch Čihák <vojtech.ci...@atlas.cz> wrote: > Hi, if you mean this: > ...
Yes, that is one of them. The code does not make sense in any case, regardless of "i"'s value. Index for cActionListEditorUnknownCategory and cActionListEditorAllCategory differ. "i" cannot have both at the same time. Maybe the condition should be "or", not "and". Why does it not compare Name directly with cActionListEditorUnknownCategory and cActionListEditorAllCategory constants? There are many similar fishy code blocks. I will sanitize some of them ... Juha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal