[PATCH 2/2] vbscript: Fixed CStr
Shuai Meng
mengshuaicalendr at gmail.com
Fri Jun 13 09:00:39 CDT 2014
2014-06-13 19:45 GMT+08:00 Jacek Caban <jacek at codeweavers.com>:
> Hi Shuai,
>
> On 06/13/14 06:26, Shuai Meng wrote:
> > - hres = to_string(arg, &str);
> > + assert(args_cnt == 1);
> > +
> > + V_VT(&v) = VT_EMPTY;
> > + hres = VariantChangeType(&v, arg, VARIANT_LOCALBOOL, VT_BSTR);
>
> Why do you change it? to_string() already does the same call.
>
Yes, you are right, I made a mistake, it's unnecessary to change it.
>
> Jacek
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140613/76fa14be/attachment.html>
More information about the wine-devel
mailing list