[PATCH 2/2] oleacc: Add GetStateText implementation (try2)
Piotr Caban
piotr.caban at gmail.com
Mon May 12 06:40:49 CDT 2014
On 05/12/14 13:22, Nikolay Sivov wrote:
>> + state_id = IDS_STATE_MIN;
>> + while(dwStateBit) {
>> + state_id++;
>> + dwStateBit /= 2;
>> + }
>
> It looks like ffs() could be used to do that.
fss() returns least significant bit.
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.
I don't see a clean way of doing it.
More information about the wine-devel
mailing list