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…
Reference in New Issue