Commit 97e598b6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

hhctrl.ocx: Don't fail if ole is already initialised.

parent 765ff5d6
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment