oleaut32: [Patch 1/2] VarCat must use localized names for VT_BOOL

Detlef Riekenberg wine.dev at web.de
Fri Apr 10 18:11:00 CDT 2009


While reading the code for a test failure on all of my Windows
the current code was already strange:

5436     ok(hres == VARCMP_EQ ||
5437        broken(hres == VARCMP_GT), "Expected VARCMP_EQ, got %08x\n",

I feel bad for adding a "broken(hres == VARCMP_LT)".

Extending vartest and inserting a trace made the localization error
VARCMP_LT was returned when comparing "12Falsch" and "12False".

The failure for the similar test (VT_BOOL with True: "12Wahr" >
was hidden by the wrong "broken(hres == VARCMP_GT)".

We have also another XP Machine that produced this failure.

By by ... Detlef

More information about the wine-patches mailing list