diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-19 15:40:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-19 15:40:09 +0000 |
commit | 9556b03ca5f9cb26b16b414faaaea90559843e0c (patch) | |
tree | f8aedc9957fdbccf5630fc28d1d29c49fb4a5dc3 /plugins/TipperYM/src | |
parent | 9e42bd2436c360a0ddb9d526c991ad8a46e9db9a (diff) |
unused helper removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r-- | plugins/TipperYM/src/popwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/popwin.cpp b/plugins/TipperYM/src/popwin.cpp index 1423c9b7ba..0423e7e0ee 100644 --- a/plugins/TipperYM/src/popwin.cpp +++ b/plugins/TipperYM/src/popwin.cpp @@ -77,7 +77,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa if (mir_tstrlen(pwd->swzTitle) == 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)); |