summaryrefslogtreecommitdiff
path: root/protocols/WebView
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
commit426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch)
treeae387e1079fe63cea4d928a0e2564f218836d548 /protocols/WebView
parentea45fcc6216051c084a762a8fd2d170e095bb1ba (diff)
fix for a function name:
Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide
Diffstat (limited to 'protocols/WebView')
-rw-r--r--protocols/WebView/src/stdafx.h3
-rw-r--r--protocols/WebView/src/webview_services.cpp4
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/WebView/src/stdafx.h b/protocols/WebView/src/stdafx.h
index 91a1ac63c1..5e351b77ed 100644
--- a/protocols/WebView/src/stdafx.h
+++ b/protocols/WebView/src/stdafx.h
@@ -15,9 +15,8 @@
#include <wchar.h>
#include <newpluginapi.h>
-#include <m_system.h>
-#include <m_clist.h>
#include <m_clist.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_protocols.h>
#include <m_protosvc.h>
diff --git a/protocols/WebView/src/webview_services.cpp b/protocols/WebView/src/webview_services.cpp
index f0af2a30fe..c3b412c7e5 100644
--- a/protocols/WebView/src/webview_services.cpp
+++ b/protocols/WebView/src/webview_services.cpp
@@ -353,7 +353,7 @@ INT_PTR AddToList(WPARAM, LPARAM lParam)
sameurl++;
if (db_get_b(hContact, "CList", "NotOnList", 1)) {
db_unset(hContact, "CList", "NotOnList");
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
}
}
db_free(&dbv);
@@ -404,7 +404,7 @@ INT_PTR AddToList(WPARAM, LPARAM lParam)
samename++;
if (db_get_b(hContact2, "CList", "NotOnList", 1)) {
db_unset(hContact2, "CList", "NotOnList");
- Clist_HideContact(hContact2, false);
+ Contact_Hide(hContact2, false);
}
db_free(&dbv);
}