From bbd287fc6623197101227c820379a3b5ef4358f7 Mon Sep 17 00:00:00 2001 From: Maciej Wycik Date: Fri, 9 Jan 2015 21:23:19 +0000 Subject: this little exclamation mark makes plugin unusable! git-svn-id: http://svn.miranda-ng.org/main/trunk@11809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Exchange/src/MirandaExchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Exchange/src') diff --git a/plugins/Exchange/src/MirandaExchange.cpp b/plugins/Exchange/src/MirandaExchange.cpp index 58c54d0d4c..d587f9ceb5 100644 --- a/plugins/Exchange/src/MirandaExchange.cpp +++ b/plugins/Exchange/src/MirandaExchange.cpp @@ -534,7 +534,7 @@ HRESULT CMirandaExchange::CreateProfile( LPTSTR szProfileName ) return hr; hr = pProfAdmin->CreateProfile((LPTSTR)mir_t2a(szProfileName), NULL, NULL, ulFlags); - if (!FAILED(hr)) { + if (FAILED(hr)) { pProfAdmin->DeleteProfile((LPTSTR)mir_t2a(szProfileName), ulFlags); return hr; } -- cgit v1.2.3