summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:10 +0000
commitad0169e0110232390474d23274bdc5dc2d385a9a (patch)
tree244d8c2a7d6d9db8d5fc2562003f4aec3d053c8a /plugins/TabSRMM/src/utils.cpp
parenta23d6936522260197b5b3b13e468c1cddd6d8ed8 (diff)
- unused variables wiped out of tabSRMM
- enhanced mc support git-svn-id: http://svn.miranda-ng.org/main/trunk@8503 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index f328f1dfc8..776afac70b 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -326,11 +326,11 @@ const TCHAR* Utils::FormatTitleBar(const TWindowData *dat, const TCHAR *szFormat
break;
}
case 'o': {
- const TCHAR* szProto = dat->cache->getActiveProtoT();
+ const char *szProto = dat->cache->getActiveProto();
if (szProto)
- title.insert(tempmark + 2, szProto);
+ title.insert(tempmark + 2, _A2T(szProto));
title.erase(tempmark, 2);
- curpos = tempmark + (szProto ? lstrlen(szProto) : 0);
+ curpos = tempmark + (szProto ? lstrlenA(szProto) : 0);
break;
}
case 'x': {