summaryrefslogtreecommitdiff
path: root/plugins/BuddyPounce/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BuddyPounce/src/main.cpp')
-rw-r--r--plugins/BuddyPounce/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp
index 03b8e6cb59..f490a77a10 100644
--- a/plugins/BuddyPounce/src/main.cpp
+++ b/plugins/BuddyPounce/src/main.cpp
@@ -145,10 +145,9 @@ int CheckDate(MCONTACT hContact)
void SendPounce(TCHAR *text, MCONTACT hContact)
{
- char* pszUtf = mir_utf8encodeT(text);
+ ptrA pszUtf(mir_utf8encodeT(text));
if (HANDLE hSendId = (HANDLE)CallContactService(hContact, PSS_MESSAGE, PREF_UTF, (LPARAM)pszUtf))
WindowList_Add(hWindowList, (HWND)hSendId, hContact);
-
}
int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam)