Fixing bug #2181, standard EDIT class extra value

Dmitry Timoshkov dmitry at codeweavers.com
Wed Oct 7 22:45:20 CDT 2009


"Dmitry Timoshkov" <dmitry at codeweavers.com> wrote:

>> +    #ifdef _WIN64
>> +    ok(cls.cbWndExtra == 8, "expected 6, got %d\n", cls.cbWndExtra);
>> +    #else
>> +    ok(cls.cbWndExtra == 6, "expected 6, got %d\n", cls.cbWndExtra);
>> +    #endif
>> +}
>> +}
> 
> You should check the return value of GetClassInfoEx() and put todo_wine
> only around the failing ok() call (otherwise it will fail under 64-bit).

And of course fix the message in the ok() for 64-bit case.

-- 
Dmitry.



More information about the wine-devel mailing list