mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 01:32:34 +00:00
hhctrl.ocx: Don't fail if ole is already initialised.
This commit is contained in:
parent
765ff5d629
commit
97e598b679
@ -847,7 +847,7 @@ int WINAPI doWinMain(HINSTANCE hInstance, LPSTR szCmdLine)
|
||||
MSG msg;
|
||||
HHInfo *pHHInfo;
|
||||
|
||||
if (OleInitialize(NULL) != S_OK)
|
||||
if (FAILED(OleInitialize(NULL)))
|
||||
return -1;
|
||||
|
||||
pHHInfo = HH_OpenHH(hInstance, HH_ANSIToUnicode(szCmdLine));
|
||||
|
Loading…
x
Reference in New Issue
Block a user