summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_mwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Weather/src/weather_mwin.cpp')
-rw-r--r--plugins/Weather/src/weather_mwin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Weather/src/weather_mwin.cpp b/plugins/Weather/src/weather_mwin.cpp
index 75f32395be..d63114cfe0 100644
--- a/plugins/Weather/src/weather_mwin.cpp
+++ b/plugins/Weather/src/weather_mwin.cpp
@@ -294,11 +294,11 @@ void UpdateMwinData(MCONTACT hContact)
INT_PTR Mwin_MenuClicked(WPARAM wParam,LPARAM lParam)
{
- BOOL addwnd = WindowList_Find(hMwinWindowList, (MCONTACT)wParam) == NULL;
+ BOOL addwnd = WindowList_Find(hMwinWindowList, wParam) == NULL;
if (addwnd)
- addWindow((MCONTACT)wParam);
+ addWindow(wParam);
else
- removeWindow((MCONTACT)wParam);
+ removeWindow(wParam);
return 0;
}