diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-15 16:00:05 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-15 16:00:05 +0000 |
commit | 95807393b69d3d3ae9ec3256bdff2824999cff5d (patch) | |
tree | 3676a926f2a07a49cb2fc53f1b23ec6fc38df2b3 /plugins/Folders/src/folderItem.cpp | |
parent | 9d77e8b56786904331b2805a32d245a512292be4 (diff) |
Folders: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11436 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src/folderItem.cpp')
-rw-r--r-- | plugins/Folders/src/folderItem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Folders/src/folderItem.cpp b/plugins/Folders/src/folderItem.cpp index f89f001619..c00ef0cef6 100644 --- a/plugins/Folders/src/folderItem.cpp +++ b/plugins/Folders/src/folderItem.cpp @@ -47,7 +47,7 @@ void CFolderItem::SetFormat(const TCHAR *newFormat) {
mir_free(m_tszOldFormat);
m_tszOldFormat = m_tszFormat;
- m_tszFormat = mir_tstrdup( *newFormat ? newFormat : MIRANDA_PATHT);
+ m_tszFormat = mir_tstrdup(*newFormat ? newFormat : MIRANDA_PATHT);
}
int CFolderItem::IsEqual(const CFolderItem *other)
@@ -62,7 +62,7 @@ int CFolderItem::IsEqual(const char *section, const TCHAR *name) int CFolderItem::IsEqualTranslated(const char *trSection, const TCHAR *trName)
{
- return !_tcscmp( TranslateTS(m_tszUserName), trName) && !strcmp(Translate(m_szSection), trSection);
+ return !_tcscmp(TranslateTS(m_tszUserName), trName) && !strcmp(Translate(m_szSection), trSection);
}
int CFolderItem::operator ==(const CFolderItem *other)
@@ -98,10 +98,10 @@ int CFolderItem::FolderCreateDirectory(int showFolder) int CFolderItem::FolderDeleteOldDirectory(int showFolder)
{
- if ( !m_tszOldFormat)
+ if (!m_tszOldFormat)
return FOLDER_SUCCESS;
- if ( !_tcscmp(m_tszFormat, m_tszOldFormat)) //format wasn't changed
+ if (!_tcscmp(m_tszFormat, m_tszOldFormat)) //format wasn't changed
return FOLDER_SUCCESS;
TCHAR buffer[MAX_FOLDER_SIZE];
|