summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/trayicon.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-10 11:49:39 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-10 11:49:39 +0000
commit1416051048756ab769de52ab5eb67a31e41524fd (patch)
tree401f4359adf6784bd46d2a721cc39d8043c2ca31 /plugins/TabSRMM/src/trayicon.cpp
parent9f75859a9af7fc3df868cb7b2714c3a19e239b1e (diff)
removed not used headers
added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/trayicon.cpp')
-rw-r--r--plugins/TabSRMM/src/trayicon.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/trayicon.cpp b/plugins/TabSRMM/src/trayicon.cpp
index a653564415..48d6cb2417 100644
--- a/plugins/TabSRMM/src/trayicon.cpp
+++ b/plugins/TabSRMM/src/trayicon.cpp
@@ -30,15 +30,11 @@
*
* (C) 2005-2009 by silvercircle _at_ gmail _dot_ com and contributors
*
- * $Id: trayicon.cpp 13447 2011-03-14 19:55:07Z george.hazan $
- *
* The code that creates and animates the tray icon.
*
*/
#include "commonheaders.h"
-#pragma hdrstop
-//#include "m_toptoolbar.h"
static BOOL isAnimThreadRunning = TRUE;
static HANDLE hTrayAnimThread = 0;
@@ -244,7 +240,7 @@ void TSAPI AddContactToFavorites(HANDLE hContact, const TCHAR *szNickname, const
TCHAR szFinalNick[100];
if (szNickname == NULL) {
- mir_sntprintf(szFinalNick, safe_sizeof(szFinalNick), _T("%s"), (TCHAR *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, GCDNF_TCHAR));
+ mir_sntprintf(szFinalNick, SIZEOF(szFinalNick), _T("%s"), (TCHAR *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, GCDNF_TCHAR));
}
else {
_tcsncpy(szFinalNick, szNickname, 100);
@@ -269,7 +265,7 @@ void TSAPI AddContactToFavorites(HANDLE hContact, const TCHAR *szNickname, const
if (acc && acc->tszAccountName) {
mii.cbSize = sizeof(mii);
- mir_sntprintf(szMenuEntry, safe_sizeof(szMenuEntry), _T("%s: %s (%s)"), acc->tszAccountName, szFinalNick, szStatus);
+ mir_sntprintf(szMenuEntry, SIZEOF(szMenuEntry), _T("%s: %s (%s)"), acc->tszAccountName, szFinalNick, szStatus);
if (mode) {
if (hMenu == PluginConfig.g_hMenuRecent) {
if (CheckMenuItem(hMenu, (UINT_PTR)hContact, MF_BYCOMMAND | MF_UNCHECKED) == 0) {