mirror of
https://github.com/LegacyUpdate/LegacyUpdate.git
synced 2025-01-23 06:31:51 -05:00
I forgot IE < 8 want an empty VARIANT to represent null
This commit is contained in:
parent
e12529c84a
commit
2366e2a801
1 changed files with 4 additions and 1 deletions
|
@ -117,7 +117,10 @@ void CALLBACK LaunchUpdateSite(HWND hwnd, HINSTANCE hinstance, LPSTR lpszCmdLine
|
|||
flags.vt = VT_I4;
|
||||
flags.lVal = 0;
|
||||
|
||||
result = browser->Navigate2(&url, &flags, NULL, NULL, NULL);
|
||||
VARIANT nullVariant;
|
||||
VariantInit(&nullVariant);
|
||||
|
||||
result = browser->Navigate2(&url, &flags, &nullVariant, &nullVariant, &nullVariant);
|
||||
if (!SUCCEEDED(result)) {
|
||||
goto end;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue