From 9556b03ca5f9cb26b16b414faaaea90559843e0c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Jun 2015 15:40:09 +0000 Subject: unused helper removed git-svn-id: http://svn.miranda-ng.org/main/trunk@14263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SimpleStatusMsg/src/main.cpp | 2 +- plugins/StopSpamMod/src/utilities.cpp | 6 +++--- plugins/TipperYM/src/popwin.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins') diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index 4f100ffca0..1e2fa45748 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -1487,7 +1487,7 @@ static int ChangeStatusMsgPrebuild(WPARAM wParam, LPARAM lParam) continue; TCHAR szBuffer[256]; - if (Proto_IsAccountLocked(pa[i]->szModuleName)) + if (Proto_IsAccountLocked(pa[i])) { mir_sntprintf(szBuffer, TranslateT("%s (locked)"), pa[i]->tszAccountName); mi.ptszPopupName = szBuffer; diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index 8c67f36c0e..c4f350208d 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -129,8 +129,8 @@ const int Stricmp(const TCHAR *str, const TCHAR *substr) TCHAR *str_up = NEWTSTR_MALLOC(str); TCHAR *substr_up = NEWTSTR_MALLOC(substr); - CharUpperBuff(str_up, mir_tstrlen(str_up)); - CharUpperBuff(substr_up, mir_tstrlen(substr_up)); + CharUpperBuff(str_up, (int)mir_tstrlen(str_up)); + CharUpperBuff(substr_up, (int)mir_tstrlen(substr_up)); i = mir_tstrcmp(str_up, substr_up); @@ -189,7 +189,7 @@ BOOL IsUrlContains(TCHAR * Str) if(Str && mir_tstrlen(Str)>0) { TCHAR *StrLower = NEWTSTR_MALLOC(Str); - CharLowerBuff(StrLower, mir_tstrlen(StrLower)); + CharLowerBuff(StrLower, (int)mir_tstrlen(StrLower)); for (int i=0; iswzTitle) == 0) a2t(pwd->clcit.szProto, pwd->swzTitle, TITLE_TEXT_LEN); - if (Proto_IsAccountLocked(pwd->clcit.szProto)) + if (Proto_IsAccountLocked(pa)) mir_sntprintf(pwd->swzTitle, SIZEOF(pwd->swzTitle), TranslateT("%s (locked)"), pwd->swzTitle); // protocol status @@ -1499,7 +1499,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa TCHAR swzProto[256]; mir_tstrcpy(swzProto, pa->tszAccountName); if (dwItems & TRAYTIP_LOCKSTATUS) - if (Proto_IsAccountLocked(pa->szModuleName)) + if (Proto_IsAccountLocked(pa)) mir_sntprintf(swzProto, SIZEOF(swzProto), TranslateT("%s (locked)"), pa->tszAccountName); AddRow(pwd, swzProto, buff, NULL, false, false, !bFirstItem, true, Skin_LoadProtoIcon(pa->szModuleName, wStatus)); -- cgit v1.2.3