diff options
Diffstat (limited to 'MySpace/notifications.cpp')
-rw-r--r-- | MySpace/notifications.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/MySpace/notifications.cpp b/MySpace/notifications.cpp index 25b732b..d29db18 100644 --- a/MySpace/notifications.cpp +++ b/MySpace/notifications.cpp @@ -81,8 +81,8 @@ void NotifyMail() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
POPUPDATACLASS d = {sizeof(d), popup_class_name};
- d.pwszTitle = (wchar_t *)wproto;
- d.pwszText = (wchar_t *)TranslateT("You have unread mail");
+ d.ptszTitle = wproto;
+ d.ptszText = TranslateT("You have unread mail");
d.PluginData = (void *)pd;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -121,8 +121,8 @@ void NotifyBlogComment() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
POPUPDATACLASS d = {sizeof(d), popup_class_name};
- d.pwszTitle = (wchar_t *)wproto;
- d.pwszText = (wchar_t *)TranslateT("You have unread blog comments");
+ d.ptszTitle = wproto;
+ d.ptszText = TranslateT("You have unread blog comments");
d.PluginData = (void *)pd;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -162,8 +162,8 @@ void NotifyProfileComment() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
POPUPDATACLASS d = {sizeof(d), popup_class_name};
- d.pwszTitle = (wchar_t *)wproto;
- d.pwszText = (wchar_t *)TranslateT("You have unread profile comments");
+ d.ptszTitle = wproto;
+ d.ptszText = TranslateT("You have unread profile comments");
d.PluginData = (void *)pd;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -200,8 +200,8 @@ void NotifyFriendRequest() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
POPUPDATACLASS d = {sizeof(d), popup_class_name};
- d.pwszTitle = (wchar_t *)wproto;
- d.pwszText = (wchar_t *)TranslateT("You have new friend requests");
+ d.ptszTitle = wproto;
+ d.ptszText = TranslateT("You have new friend requests");
d.PluginData = (void *)pd;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
|