summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/conv.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /protocols/AimOscar/conv.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/conv.cpp')
-rw-r--r--protocols/AimOscar/conv.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/AimOscar/conv.cpp b/protocols/AimOscar/conv.cpp
index 416363c096..ebe531876f 100644
--- a/protocols/AimOscar/conv.cpp
+++ b/protocols/AimOscar/conv.cpp
@@ -202,7 +202,7 @@ char* html_to_bbcodes(char *src)
*ptr = '[';
*(ptr+1) = 'b';
*(ptr+2) = ']';
- if((ptr = strstr(dest, "</B>")) != NULL || (ptr = strstr(dest, "</b>")) != NULL)
+ if ((ptr = strstr(dest, "</B>")) != NULL || (ptr = strstr(dest, "</b>")) != NULL)
{
*ptr = '[';
*(ptr+2) = 'b';
@@ -219,7 +219,7 @@ char* html_to_bbcodes(char *src)
*ptr = '[';
*(ptr+1) = 'i';
*(ptr+2) = ']';
- if((ptr = strstr(dest, "</I>")) != NULL || (ptr = strstr(dest, "</i>")) != NULL)
+ if ((ptr = strstr(dest, "</I>")) != NULL || (ptr = strstr(dest, "</i>")) != NULL)
{
*ptr = '[';
*(ptr+2) = 'i';
@@ -236,7 +236,7 @@ char* html_to_bbcodes(char *src)
*ptr = '[';
*(ptr+1) = 'u';
*(ptr+2) = ']';
- if((ptr = strstr(dest, "</U>")) != NULL || (ptr = strstr(dest, "</u>")) != NULL)
+ if ((ptr = strstr(dest, "</U>")) != NULL || (ptr = strstr(dest, "</u>")) != NULL)
{
*ptr = '[';
*(ptr+2) = 'u';
@@ -253,7 +253,7 @@ char* html_to_bbcodes(char *src)
*ptr = '[';
*(ptr+1) = 's';
*(ptr+2) = ']';
- if((ptr = strstr(dest, "</S>")) != NULL || (ptr = strstr(dest, "</s>")) != NULL)
+ if ((ptr = strstr(dest, "</S>")) != NULL || (ptr = strstr(dest, "</s>")) != NULL)
{
*ptr = '[';
*(ptr+2) = 's';
@@ -718,7 +718,7 @@ char* rtf_to_html(HWND hwndDlg,int DlgItem)
pos+=strlen(Face);
strcpy(&buf[pos],"\"");
pos++;
- if(!(cfOld.dwEffects & CFE_AUTOBACKCOLOR))
+ if (!(cfOld.dwEffects & CFE_AUTOBACKCOLOR))
{
strcpy(&buf[pos]," back=#");
pos+=6;
@@ -734,7 +734,7 @@ char* rtf_to_html(HWND hwndDlg,int DlgItem)
strcpy(&buf[pos],chBackColor);
pos+=6;
}
- if(!(cfOld.dwEffects & CFE_AUTOCOLOR))
+ if (!(cfOld.dwEffects & CFE_AUTOCOLOR))
{
strcpy(&buf[pos]," color=#");
pos+=8;