[PATCH] vbscript: Fixed CBool(try 2)

Jacek Caban jacek at codeweavers.com
Thu May 1 10:01:49 CDT 2014


On 05/01/14 16:38, Piotr Caban wrote:
>
>>     These are the failing tests:
>>     Call testCBoolError("#TRUE#", 458)
>>     Call testCBoolError("#FALSE#", 458)
>>     Call testCBoolError(MyObject, 458)
> In order to fix it you need to change the implementation. Probably you
> need to check if string equals to "#TRUE#" and return early without
> calling VariantChangeType. I'm not sure what needs to be done in
> MyObject case.

Actually, I'd like to see a cleaner solution than special casing
specific strings.

Jacek



More information about the wine-devel mailing list