summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/services.cpp')
-rw-r--r--plugins/YAMN/src/services.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YAMN/src/services.cpp b/plugins/YAMN/src/services.cpp
index cb158fdc9e..84a5915b4f 100644
--- a/plugins/YAMN/src/services.cpp
+++ b/plugins/YAMN/src/services.cpp
@@ -66,7 +66,7 @@ static int Service_ContactDoubleclicked(WPARAM wParam, LPARAM lParam)
static INT_PTR ContactApplication(WPARAM wParam, LPARAM lParam)
{
char *szProto = GetContactProto(wParam);
- if ( lstrcmpA(szProto, YAMN_DBMODULE))
+ if ( mir_strcmp(szProto, YAMN_DBMODULE))
return 0;
DBVARIANT dbv;
@@ -169,7 +169,7 @@ static INT_PTR AccountMailCheck(WPARAM wParam, LPARAM lParam)
static INT_PTR ContactMailCheck(WPARAM hContact, LPARAM lParam)
{
char *szProto = GetContactProto(hContact);
- if ( lstrcmpA(szProto, YAMN_DBMODULE))
+ if ( mir_strcmp(szProto, YAMN_DBMODULE))
return 0;
DBVARIANT dbv;
@@ -228,7 +228,7 @@ void MainMenuAccountClicked(WPARAM wParam, LPARAM lParam)
/*static*/ void ContactDoubleclicked(WPARAM wParam, LPARAM lParam)
{
char *szProto = GetContactProto(wParam);
- if ( lstrcmpA(szProto, YAMN_DBMODULE))
+ if ( mir_strcmp(szProto, YAMN_DBMODULE))
return;
DBVARIANT dbv;