From 12053939f5b0c757a2b099e90fc0b7371e8817e1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Jun 2012 17:02:05 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/parse_external.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Variables/parse_external.cpp') diff --git a/plugins/Variables/parse_external.cpp b/plugins/Variables/parse_external.cpp index fa3f25ff87..6a0d0dd846 100644 --- a/plugins/Variables/parse_external.cpp +++ b/plugins/Variables/parse_external.cpp @@ -73,7 +73,7 @@ static TCHAR *parseWinampSong(ARGUMENTSINFO *ai) { } scur = _tcschr(szTitle, _T('.')); cur = _tcsstr(scur, _T(" - Winamp")); - if ( (scur == NULL) || (cur == NULL) || (scur >= cur) || (scur > (szTitle + _tcslen(szTitle) - 2)) || (cur > (szTitle + _tcslen(szTitle)))) { + if ((scur == NULL) || (cur == NULL) || (scur >= cur) || (scur > (szTitle + _tcslen(szTitle) - 2)) || (cur > (szTitle + _tcslen(szTitle)))) { mir_free(szTitle); return NULL; } @@ -101,15 +101,15 @@ static TCHAR *parseWinampState(ARGUMENTSINFO *ai) { } scur = _tcschr(szTitle, _T('.')); cur = _tcsstr(scur, _T(" - Winamp")); - if ( (scur == NULL) || (cur == NULL)) { + if ((scur == NULL) || (cur == NULL)) { mir_free(szTitle); return mir_tstrdup(TranslateT("Stopped")); } - if ( (!_tcsncmp(cur+10, _T("[Stopped]"), 9))) { + if ((!_tcsncmp(cur+10, _T("[Stopped]"), 9))) { mir_free(szTitle); return mir_tstrdup(TranslateT("Stopped")); } - if ( (!_tcsncmp(cur+10, _T("[Paused]"), 8))) { + if ((!_tcsncmp(cur+10, _T("[Paused]"), 8))) { mir_free(szTitle); return mir_tstrdup(TranslateT("Paused")); } -- cgit v1.2.3