diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/Folders/src/folderItem.cpp | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (diff) |
less TCHARs:
- TCHAR is replaced with wchar_t everywhere;
- LPGENT replaced with either LPGENW or LPGEN;
- fixes for ANSI plugins that improperly used _t functions;
- TCHAR *t removed from MAllStrings;
- ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz*
git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src/folderItem.cpp')
-rw-r--r-- | plugins/Folders/src/folderItem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Folders/src/folderItem.cpp b/plugins/Folders/src/folderItem.cpp index e1b46cb393..9cc475593e 100644 --- a/plugins/Folders/src/folderItem.cpp +++ b/plugins/Folders/src/folderItem.cpp @@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
-CFolderItem::CFolderItem(const char *sectionName, const char *name, const TCHAR *format, const TCHAR *userName)
+CFolderItem::CFolderItem(const char *sectionName, const char *name, const wchar_t *format, const wchar_t *userName)
{
m_szSection = mir_strdup(sectionName);
m_szName = mir_strdup(name);
@@ -43,7 +43,7 @@ CFolderItem::~CFolderItem() mir_free(m_tszUserName);
}
-void CFolderItem::SetFormat(const TCHAR *newFormat)
+void CFolderItem::SetFormat(const wchar_t *newFormat)
{
mir_free(m_tszOldFormat);
m_tszOldFormat = m_tszFormat;
@@ -55,12 +55,12 @@ int CFolderItem::IsEqual(const CFolderItem *other) return (IsEqual(other->GetSection(), other->GetUserName()));
}
-int CFolderItem::IsEqual(const char *section, const TCHAR *name)
+int CFolderItem::IsEqual(const char *section, const wchar_t *name)
{
return !mir_tstrcmp(m_tszUserName, name) && !mir_strcmp(m_szSection, section);
}
-int CFolderItem::IsEqualTranslated(const char *trSection, const TCHAR *trName)
+int CFolderItem::IsEqualTranslated(const char *trSection, const wchar_t *trName)
{
return !mir_tstrcmp(TranslateTS(m_tszUserName), trName) && !mir_strcmp(Translate(m_szSection), trSection);
}
@@ -111,7 +111,7 @@ int CFolderItem::FolderDeleteOldDirectory(int showFolder) return res;
}
-void CFolderItem::GetDataFromDatabase(const TCHAR *szNotFound)
+void CFolderItem::GetDataFromDatabase(const wchar_t *szNotFound)
{
char szSettingName[256];
strcpy_s(szSettingName, _countof(szSettingName), m_szSection);
|