summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-13 04:25:42 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-13 04:25:42 +0000
commitd38d5cc437f82feca1a77e1c17cde62fe767babb (patch)
treead12e4c2817a48620605e2476507f17d65f30580
parent784620ca47daa53367e4b504b36adc5bd3d3cd70 (diff)
changed classes api to use const pointers (removed unnecessary 'unconst' cast)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@281 4f64403b-2f21-0410-a795-97e2b3489a10
-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 {