diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-30 17:02:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-30 17:02:05 +0000 |
commit | 12053939f5b0c757a2b099e90fc0b7371e8817e1 (patch) | |
tree | 6f56986b035edee5262e8d0cf142fcbc9a35a687 /plugins/Variables/parse_logic.cpp | |
parent | 13062331be32832680c4dd429d39648f6c8512ed (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/parse_logic.cpp')
-rw-r--r-- | plugins/Variables/parse_logic.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Variables/parse_logic.cpp b/plugins/Variables/parse_logic.cpp index 178439a338..a9abcaa227 100644 --- a/plugins/Variables/parse_logic.cpp +++ b/plugins/Variables/parse_logic.cpp @@ -141,7 +141,7 @@ static TCHAR *parseIfequal(ARGUMENTSINFO *ai) tszFirst = formatString(&fi);
fi.szFormat = ai->argv[2];
tszSecond = formatString(&fi);
- if ( (tszFirst == NULL) || (tszSecond == NULL)) {
+ if ((tszFirst == NULL) || (tszSecond == NULL)) {
if (tszFirst != NULL)
mir_free(tszFirst);
@@ -150,7 +150,7 @@ static TCHAR *parseIfequal(ARGUMENTSINFO *ai) return NULL;
}
- if ( (ttoi(tszFirst)) == (ttoi(tszSecond))) {
+ if ((ttoi(tszFirst)) == (ttoi(tszSecond))) {
mir_free(tszFirst);
mir_free(tszSecond);
return mir_tstrdup(ai->targv[3]);
@@ -176,7 +176,7 @@ static TCHAR *parseIfgreater(ARGUMENTSINFO *ai) { tszFirst = formatString(&fi);
fi.szFormat = ai->argv[2];
tszSecond = formatString(&fi);
- if ( (tszFirst == NULL) || (tszSecond == NULL)) {
+ if ((tszFirst == NULL) || (tszSecond == NULL)) {
if (tszFirst != NULL) {
mir_free(tszFirst);
}
@@ -185,7 +185,7 @@ static TCHAR *parseIfgreater(ARGUMENTSINFO *ai) { }
return NULL;
}
- if ( (ttoi(tszFirst)) > (ttoi(tszSecond))) {
+ if ((ttoi(tszFirst)) > (ttoi(tszSecond))) {
mir_free(tszFirst);
mir_free(tszSecond);
return mir_tstrdup(ai->targv[3]);
@@ -210,7 +210,7 @@ static TCHAR *parseIflonger(ARGUMENTSINFO *ai) { tszFirst = formatString(&fi);
fi.szFormat = ai->argv[2];
tszSecond = formatString(&fi);
- if ( (tszFirst == NULL) || (tszSecond == NULL)) {
+ if ((tszFirst == NULL) || (tszSecond == NULL)) {
if (tszFirst != NULL) {
mir_free(tszFirst);
}
@@ -280,7 +280,7 @@ static TCHAR *parseEqual(ARGUMENTSINFO *ai) if (ai->argc != 3)
return NULL;
- if ( ttoi(ai->targv[1]) != ttoi( ai->targv[2] ))
+ if (ttoi(ai->targv[1]) != ttoi( ai->targv[2] ))
ai->flags |= AIF_FALSE;
return mir_tstrdup(_T(""));
@@ -291,7 +291,7 @@ static TCHAR *parseGreater(ARGUMENTSINFO *ai) if (ai->argc != 3)
return NULL;
- if ( ttoi(ai->targv[1]) <= ttoi(ai->targv[2] ))
+ if (ttoi(ai->targv[1]) <= ttoi(ai->targv[2] ))
ai->flags |= AIF_FALSE;
return mir_tstrdup(_T(""));
|