diff options
author | slotwin <slotwin@users.noreply.github.com> | 2015-02-25 15:18:01 +0000 |
---|---|---|
committer | slotwin <slotwin@users.noreply.github.com> | 2015-02-25 15:18:01 +0000 |
commit | 9685c81f98e6dd0d408b9d8ca9ec2c325d736eb6 (patch) | |
tree | 5220e0c46cb996ccf10f8070053fa8848234ae42 /plugins/TipperYM/src | |
parent | 0b8e449fdc1071348dd62c412d147ad025439e85 (diff) |
Get proper status message for protocol instead of global
git-svn-id: http://svn.miranda-ng.org/main/trunk@12264 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r-- | plugins/TipperYM/src/subst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp index 4bf6c42d4c..d5f9869211 100644 --- a/plugins/TipperYM/src/subst.cpp +++ b/plugins/TipperYM/src/subst.cpp @@ -705,7 +705,7 @@ TCHAR *GetProtoStatusMessage(char *szProto, WORD wStatus) TCHAR *swzText = (TCHAR *)CallProtoService(szProto, PS_GETMYAWAYMSG, 0, SGMA_TCHAR); if ((INT_PTR)swzText == CALLSERVICE_NOTFOUND) - swzText = (TCHAR*)CallService(MS_AWAYMSG_GETSTATUSMSGT, wStatus, 0); + swzText = (TCHAR *)CallService(MS_AWAYMSG_GETSTATUSMSGT, wStatus, (LPARAM)szProto); else if (swzText == NULL) { // try to use service without SGMA_TCHAR |