From 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 21:32:12 +0300 Subject: fix for a function name: Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide --- protocols/Weather/src/stdafx.h | 1 + protocols/Weather/src/weather_addstn.cpp | 2 +- protocols/Weather/src/weather_mwin.cpp | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'protocols/Weather/src') diff --git a/protocols/Weather/src/stdafx.h b/protocols/Weather/src/stdafx.h index 7a8156af5e..226abc0980 100644 --- a/protocols/Weather/src/stdafx.h +++ b/protocols/Weather/src/stdafx.h @@ -34,6 +34,7 @@ along with this program. If not, see . #include #include +#include #include #include #include diff --git a/protocols/Weather/src/weather_addstn.cpp b/protocols/Weather/src/weather_addstn.cpp index 96ab251cf6..ff4287a988 100644 --- a/protocols/Weather/src/weather_addstn.cpp +++ b/protocols/Weather/src/weather_addstn.cpp @@ -50,7 +50,7 @@ INT_PTR WeatherAddToList(WPARAM, LPARAM lParam) // and add them on the list if (db_get_b(hContact, "CList", "NotOnList", 1)) { db_unset(hContact, "CList", "NotOnList"); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); } db_free(&dbv); // contact is added, function quitting diff --git a/protocols/Weather/src/weather_mwin.cpp b/protocols/Weather/src/weather_mwin.cpp index 1ab04f0811..c837648c09 100644 --- a/protocols/Weather/src/weather_mwin.cpp +++ b/protocols/Weather/src/weather_mwin.cpp @@ -250,7 +250,7 @@ static void addWindow(MCONTACT hContact) int frameID = g_plugin.addFrame(&Frame); g_plugin.setDword(hContact, "mwin", frameID); - Clist_HideContact(hContact); + Contact_Hide(hContact); } void removeWindow(MCONTACT hContact) @@ -261,7 +261,7 @@ void removeWindow(MCONTACT hContact) CallService(MS_CLIST_FRAMES_REMOVEFRAME, frameId, 0); g_plugin.setDword(hContact, "mwin", 0); - Clist_HideContact(hContact, false); + Contact_Hide(hContact, false); } void UpdateMwinData(MCONTACT hContact) -- cgit v1.2.3