summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-x[-rw-r--r--]plugins/New_GPG/src/messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index 0ec4cd1fea..a7239171b0 100644..100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -800,6 +800,8 @@ INT_PTR SendMsgSvc(WPARAM w, LPARAM l)
CCSDATA *ccs = (CCSDATA*)l;
if (!ccs)
return CallService(MS_PROTO_CHAINSEND, w, l);
+ if(!ccs->lParam)
+ return CallService(MS_PROTO_CHAINSEND, w, l);
char *msg = nullptr;
if((ccs->wParam & PREF_UTF) == PREF_UTF)
msg = mir_strdup((char*)(ccs->lParam));