summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--message_notify/popups.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/message_notify/popups.cpp b/message_notify/popups.cpp
index 8a652ba..24c983b 100644
--- a/message_notify/popups.cpp
+++ b/message_notify/popups.cpp
@@ -137,8 +137,8 @@ void ShowPopup( HANDLE hContact, const char* line1, const char* line2, int flags
if(classes_enabled) {
POPUPDATACLASS d = {sizeof(d), "messagenotify"};
- d.pszTitle = (char *)line1;
- d.pszText = (char *)line2;
+ d.pszTitle = line1;
+ d.pszText = line2;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -189,8 +189,8 @@ void ShowPopupW( HANDLE hContact, const wchar_t* line1, const wchar_t* line2, in
if(classes_enabled) {
POPUPDATACLASS d = {sizeof(d), "messagenotify"};
- d.pwszTitle = (wchar_t *)line1;
- d.pwszText = (wchar_t *)line2;
+ d.pwszTitle = line1;
+ d.pwszText = line2;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {