[PATCH 2/2] oleacc: Add GetStateText implementation (try2)
Piotr Caban
piotr.caban at gmail.com
Mon May 12 06:54:49 CDT 2014
On 05/12/14 13:53, Nikolay Sivov wrote:
> 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).
I've checked how behaves native dll on win7 and implemented it the same way.
More information about the wine-devel
mailing list