summaryrefslogtreecommitdiff
path: root/plugins/Variables/parse_logic.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-20 17:00:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-20 17:00:14 +0000
commit30ab6ceb71842f003f649b3d62b89af010cf40d1 (patch)
treeb1dae7a6d545cdf622a165ba4c576d3a41d71221 /plugins/Variables/parse_logic.cpp
parent65461e7b4edb683cc09086fdaf49e0c2ef918bd4 (diff)
- direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call;
- obsolete structure SKINSOUNDDESC removed - dynamically translated hot keys; - checked correct LPGEN'ing of the sounds creation; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/parse_logic.cpp')
-rw-r--r--plugins/Variables/parse_logic.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Variables/parse_logic.cpp b/plugins/Variables/parse_logic.cpp
index 36a5f664e3..23f8badca8 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)
free(tszFirst);
@@ -150,7 +150,7 @@ static TCHAR *parseIfequal(ARGUMENTSINFO *ai)
return NULL;
}
- if ( (ttoi(tszFirst)) == (ttoi(tszSecond)) ) {
+ if ( (ttoi(tszFirst)) == (ttoi(tszSecond))) {
free(tszFirst);
free(tszSecond);
return _tcsdup(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) {
free(tszFirst);
}
@@ -185,7 +185,7 @@ static TCHAR *parseIfgreater(ARGUMENTSINFO *ai) {
}
return NULL;
}
- if ( (ttoi(tszFirst)) > (ttoi(tszSecond)) ) {
+ if ( (ttoi(tszFirst)) > (ttoi(tszSecond))) {
free(tszFirst);
free(tszSecond);
return _tcsdup(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) {
free(tszFirst);
}
@@ -219,7 +219,7 @@ static TCHAR *parseIflonger(ARGUMENTSINFO *ai) {
}
return NULL;
}
- if ( _tcslen(tszFirst) > _tcslen(tszSecond) ) {
+ if ( _tcslen(tszFirst) > _tcslen(tszSecond)) {
free(tszFirst);
free(tszSecond);
return _tcsdup(ai->targv[3]);
@@ -302,7 +302,7 @@ static TCHAR *parseLonger(ARGUMENTSINFO *ai)
if (ai->argc != 3)
return NULL;
- if ( _tcslen(ai->targv[1]) <= _tcslen(ai->targv[2]) )
+ if ( _tcslen(ai->targv[1]) <= _tcslen(ai->targv[2]))
ai->flags |= AIF_FALSE;
return _tcsdup(_T(""));