[PATCH 2/2] oleacc: Add GetStateText implementation (try2)

Nikolay Sivov bunglehead at gmail.com
Mon May 12 06:53:15 CDT 2014


On 5/12/2014 15:40, Piotr Caban wrote:
> 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.
Yes, why is this a problem? Input state is supposed to have only one bit 
set (or none).



More information about the wine-devel mailing list