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/MyDetails/src/data.cpp | |
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/MyDetails/src/data.cpp')
-rw-r--r-- | plugins/MyDetails/src/data.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp index 8451c124d5..5b6a23001e 100644 --- a/plugins/MyDetails/src/data.cpp +++ b/plugins/MyDetails/src/data.cpp @@ -219,7 +219,7 @@ void Protocol::GetStatusMsg(int aStatus, TCHAR *msg, size_t msg_size) lcopystr(msg, tmp == NULL ? _T("") : tmp, msg_size);
}
else if (ServiceExists(MS_AWAYMSG_GETSTATUSMSGT)) {
- ptrT tmp((TCHAR*)CallService(MS_AWAYMSG_GETSTATUSMSGT, (WPARAM)aStatus, 0));
+ ptrT tmp((TCHAR *)CallService(MS_AWAYMSG_GETSTATUSMSGT, (WPARAM)aStatus, (LPARAM)name));
lcopystr(msg, tmp == NULL ? _T("") : tmp, msg_size);
}
}
|