diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-31 16:50:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-31 16:50:53 +0000 |
commit | d57b6799dac75f3c428393666d079fe59361c4b5 (patch) | |
tree | 4bcb3de1b241e89c4dca03bd8b031bc17dbe9b56 /plugins/NewAwaySysMod/src/AwaySys.cpp | |
parent | 85e27141c915d057deeb4be6c4bc81d387c39be6 (diff) |
fixes for PS_SETAWAYMSG calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@13939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/src/AwaySys.cpp')
-rw-r--r-- | plugins/NewAwaySysMod/src/AwaySys.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp index 7649a3f68a..4343b9878d 100644 --- a/plugins/NewAwaySysMod/src/AwaySys.cpp +++ b/plugins/NewAwaySysMod/src/AwaySys.cpp @@ -143,13 +143,13 @@ int StatusMsgReq(WPARAM wParam, LPARAM lParam, CString &szProto) return 0;
}
if (CContactSettings(iMode, hContactForSettings).Ignore) {
- CallAllowedPS_SETAWAYMSG(szProto, iMode, ""); // currently NULL makes ICQ to ignore _any_ further status message requests until the next PS_SETAWAYMSG, so i can't use it here..
+ CallAllowedPS_SETAWAYMSG(szProto, iMode, _T("")); // currently NULL makes ICQ to ignore _any_ further status message requests until the next PS_SETAWAYMSG, so i can't use it here..
return 0; // move along, sir
}
- if (iMode) { // if it's not an xstatus message request
- CallAllowedPS_SETAWAYMSG(szProto, iMode, (char*)_T2A(GetDynamicStatMsg(hFoundContact, szProto, lParam)));
- }
+ if (iMode) // if it's not an xstatus message request
+ CallAllowedPS_SETAWAYMSG(szProto, iMode, GetDynamicStatMsg(hFoundContact, szProto, lParam));
+
// COptPage PopupNotifyData(g_PopupOptPage);
// PopupNotifyData.DBToMem();
VarParseData.szProto = szProto;
|