[PATCH 2/2] oleacc: Add GetStateText implementation (try2)
Nikolay Sivov
bunglehead at gmail.com
Mon May 12 06:22:06 CDT 2014
> + state_id = IDS_STATE_MIN;
> + while(dwStateBit) {
> + state_id++;
> + dwStateBit /= 2;
> + }
It looks like ffs() could be used to do that. Actually it would be
better to find a way to connect those resource ids with actual
STATE_SYSTEM_* symbols, not sure if it's possible to do cleanly.
Also I don't like formatting, especially prefixed names, but that's
probably considered to be submitter choice.
More information about the wine-devel
mailing list