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

This commit is contained in:
Huw Davies 2006-10-31 19:19:44 +00:00 committed by Alexandre Julliard
parent 765ff5d629
commit 97e598b679
1 changed files with 1 additions and 1 deletions

View File

@ -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));