From 8ec442f510d223909d8719ae903d738aa0a0d439 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 19 Jul 2011 15:09:12 +0200 Subject: [PATCH] explorer: Use FAILED instead of !SUCCEEDED. --- programs/explorer/explorer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c index 5c9cad208ca..1b3fa90c426 100644 --- a/programs/explorer/explorer.c +++ b/programs/explorer/explorer.c @@ -326,7 +326,7 @@ static void make_explorer_window(IShellFolder* startFolder) } hres = CoCreateInstance(&CLSID_ExplorerBrowser,NULL,CLSCTX_INPROC_SERVER, &IID_IExplorerBrowser,(LPVOID*)&info->browser); - if(!SUCCEEDED(hres)) + if(FAILED(hres)) { WINE_ERR("Could not obtain an instance of IExplorerBrowser\n"); HeapFree(GetProcessHeap(),0,info); @@ -739,7 +739,7 @@ int WINAPI wWinMain(HINSTANCE hinstance, explorer_hInstance = hinstance; parse_command_line(cmdline,¶meters); hres = OleInitialize(NULL); - if(!SUCCEEDED(hres)) + if(FAILED(hres)) { WINE_ERR("Could not initialize COM\n"); ExitProcess(EXIT_FAILURE);