Module: wine Branch: master Commit: 97e598b679fe5527d622ad0a37c91cd09057954c URL: http://source.winehq.org/git/wine.git/?a=commit;h=97e598b679fe5527d622ad0a37...
Author: Huw Davies huw@codeweavers.com Date: Tue Oct 31 19:19:44 2006 +0000
hhctrl.ocx: Don't fail if ole is already initialised.
---
dlls/hhctrl.ocx/help.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c index 4713185..426996d 100644 --- a/dlls/hhctrl.ocx/help.c +++ b/dlls/hhctrl.ocx/help.c @@ -847,7 +847,7 @@ int WINAPI doWinMain(HINSTANCE hInstance MSG msg; HHInfo *pHHInfo;
- if (OleInitialize(NULL) != S_OK) + if (FAILED(OleInitialize(NULL))) return -1;
pHHInfo = HH_OpenHH(hInstance, HH_ANSIToUnicode(szCmdLine));