summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r--plugins/AssocMgr/src/dde.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/AssocMgr/src/dde.cpp b/plugins/AssocMgr/src/dde.cpp
index c2031280f6..c187630910 100644
--- a/plugins/AssocMgr/src/dde.cpp
+++ b/plugins/AssocMgr/src/dde.cpp
@@ -122,10 +122,9 @@ static LRESULT CALLBACK DdeMessageWindow(HWND hwnd,UINT msg,WPARAM wParam,LPARAM
/* we are inside miranda here, we make it async so the shell does
* not timeout regardless what the plugins try to do. */
if (!lstrcmpi(pszAction,_T("file")))
- ack.fAck=(short)(CallFunctionAsync(FileActionAsync,pszArg)!=0);
+ CallFunctionAsync(FileActionAsync,pszArg);
else if (!lstrcmpi(pszAction,_T("url")))
- ack.fAck=(short)(CallFunctionAsync(UrlActionAsync,pszArg)!=0);
- if (!ack.fAck) mir_free(pszArg); /* otherwise freed by asyncproc */
+ CallFunctionAsync(UrlActionAsync,pszArg);
}
GlobalUnlock(hCommand);
}