diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-09 15:00:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-09 15:00:10 +0000 |
commit | ad0169e0110232390474d23274bdc5dc2d385a9a (patch) | |
tree | 244d8c2a7d6d9db8d5fc2562003f4aec3d053c8a /plugins/TabSRMM/src/utils.cpp | |
parent | a23d6936522260197b5b3b13e468c1cddd6d8ed8 (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.cpp | 6 |
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': {
|