From d9c98bcdfca6da51a1a82dc6c0dc5996b3b6cd6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 21:20:14 +0000 Subject: new sorting functions applied git-svn-id: http://svn.miranda-ng.org/main/trunk@11180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAMN/src/mails/mails.cpp | 2 +- plugins/YAMN/src/main.cpp | 2 +- plugins/YAMN/src/services.cpp | 6 +++--- plugins/YAMN/src/yamn.cpp | 18 +++++++++--------- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'plugins/YAMN/src') diff --git a/plugins/YAMN/src/mails/mails.cpp b/plugins/YAMN/src/mails/mails.cpp index 70fa4f8321..c3e3a85130 100644 --- a/plugins/YAMN/src/mails/mails.cpp +++ b/plugins/YAMN/src/mails/mails.cpp @@ -362,7 +362,7 @@ HYAMNMAIL WINAPI FindMessageByIDFcn(HYAMNMAIL From,char *ID) HYAMNMAIL Browser; for (Browser=From;Browser != NULL;Browser=Browser->Next) - if (0==lstrcmpA(Browser->ID,ID)) + if (0==mir_strcmp(Browser->ID,ID)) break; return Browser; } diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index 369940ae67..7f21cc5ffe 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -224,7 +224,7 @@ static void LoadPlugins() TCHAR* end = fd.cFileName+len; // get a pointer to the NULL int safe = (end-dot)-1; // figure out how many chars after the dot are "safe", not including NULL - if ((safe != 3) || (lstrcmpi(dot+1, _T("dll")) != 0)) //not bound, however the "dll" string should mean only 3 chars are compared + if ((safe != 3) || (mir_tstrcmpi(dot+1, _T("dll")) != 0)) //not bound, however the "dll" string should mean only 3 chars are compared continue; TCHAR szPluginPath[MAX_PATH]; 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; diff --git a/plugins/YAMN/src/yamn.cpp b/plugins/YAMN/src/yamn.cpp index fa171f0dd4..b9ee9b87aa 100644 --- a/plugins/YAMN/src/yamn.cpp +++ b/plugins/YAMN/src/yamn.cpp @@ -60,31 +60,31 @@ INT_PTR GetFcnPtrSvc(WPARAM wParam, LPARAM lParam) register int i; for (i=0;i