From 95807393b69d3d3ae9ec3256bdff2824999cff5d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 15 Dec 2014 16:00:05 +0000 Subject: Folders: changed warning lavel to w4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11436 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Folders/src/folderItem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Folders/src/folderItem.cpp') 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]; -- cgit v1.2.3