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
http://test.winehq.org/data/f212579ae9a1b770ebd34cec20f95e1977bb57f0/xp_dr-asus/oleaut32:vartest.html
While reading the code for a test failure on all of my Windows
installations,
the current code was already strange:
5436 ok(hres == VARCMP_EQ ||
5437 broken(hres == VARCMP_GT), "Expected VARCMP_EQ, got %08x\n",
hres);
I feel bad for adding a "broken(hres == VARCMP_LT)".
Extending vartest and inserting a trace made the localization error
obvisious:
VARCMP_LT was returned when comparing "12Falsch" and "12False".
The failure for the similar test (VT_BOOL with True: "12Wahr" >
"12True")
was hidden by the wrong "broken(hres == VARCMP_GT)".
We have also another XP Machine that produced this failure.
(xp-home-SP2-czech)
--
By by ... Detlef
More information about the wine-patches
mailing list