downs Wrote:
> bobef wrote:
> > Also this thing (no matter of the -O flag):
> >
> > auto a=FOCUS_LOST|SINKING;
> > if(p.cmd==a) {...}
> >
> > works, but not this:
> >
> > if(p.cmd==FOCUS_LOST|SINKING) {...}
> >
>
> Purely out of interest, could you try this:
> > if (p.cmd == (FOCUS_LOST|SINKING))
>
> --downs
"if (p.cmd == (FOCUS_LOST|SINKING))" works.