[2/2] mshtml: Add HTMLImageElementFactory::value for constructing IHTMLImgElement objects
Andrew Eikum
andrew at brightnightgames.com
Wed Oct 21 16:07:21 CDT 2009
Jacek Caban wrote:
> Jacek Caban wrote:
>> argc = params->cArgs - params->cNamedArgs;
>> width = argc >= 2 ? params->rgvarg+argc-1 : ∅
>> height = argc >= 1 ? params->rgvarg+argc-2 : ∅
> I've made an obvious mistake here, but I guess it's easy to fix :)
>
Thanks for the help, Jacek.
If I'm understanding you right, rgvarg points to the named parameters
first, followed by the unnamed parameters in reverse order?
In this case:
<named params> <height> <width>
If so, then this should work, yes?
argc = params->cArgs - params->cNamedArgs;
width = argc >= 1 ? params->rgvarg + (params->cArgs - 1) : ∅
height = argc >= 2 ? params->rgvarg + (params->cArgs - 2) : ∅
More information about the wine-devel
mailing list