[Bug 4370] terragen no longer runs with wine

Wine Bugs wine-bugs at winehq.org
Fri Mar 17 09:23:34 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=4370





------- Additional Comments From cdunn42 at yahoo.com  2006-17-03 09:23 -------
I wonder if the correct solution might be using a bitwise and as a mask instead
of equality checking - if the value being tested is VT_VARIANT|VT_BYREF than it
wouldn't ever be equal to VT_VARIANT.

The following fixed the error for my case :

		    if (rgvt[i] & VT_VARIANT)
		        VariantCopy(&rgvarg[i], src_arg);
                    else if ((rgvt[i] & VT_BYREF) && !V_ISBYREF(src_arg))
                    ...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list