diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-07 07:02:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-07 07:02:09 +0000 |
commit | 3447a9bff3aa6ba3a2d9bab91653cab257c29bcf (patch) | |
tree | 9b593bc0951869c05db4e9890dbc9a0cd2da3935 /plugins/Clist_modern/modern_row.cpp | |
parent | 32931ae555d72b4631360e0dbc3969c038ea361c (diff) |
more autoformatter fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@807 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_row.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_row.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/Clist_modern/modern_row.cpp b/plugins/Clist_modern/modern_row.cpp index fe892e767b..ac6bd221e2 100644 --- a/plugins/Clist_modern/modern_row.cpp +++ b/plugins/Clist_modern/modern_row.cpp @@ -29,15 +29,15 @@ Created by Anton Senko aka ZORG , tweaked by Artem Shpynov aka FYR /*
#include "m_stdhdr.h"
-#include < windows.h>
-#include < commctrl.h>
-#include < stdio.h>
-#include < time.h>
-#include < stddef.h>
-#include < process.h>
-#include < io.h>
-#include < string.h>
-#include < direct.h>
+#include <windows.h>
+#include <commctrl.h>
+#include <stdio.h>
+#include <time.h>
+#include <stddef.h>
+#include <process.h>
+#include <io.h>
+#include <string.h>
+#include <direct.h>
#include "resource.h"
#include "hdr/modern_commonheaders.h"
*/
@@ -184,11 +184,11 @@ char * rowParserGetNextWord(char *tbuf, int &hbuf) // Tag-bracers found
if (!(ch == '>' && j < 0)) //not single '>' found
{
- if ( (ch == ' < ' || ch == '>') && j >= 0)
+ if ( (ch == '<' || ch == '>') && j >= 0)
{
if (ch == '>')
{
- if (buf[0] == '/' || buf[0] == ' < ') buf[++j] = ch;
+ if (buf[0] == '/' || buf[0] == '<') buf[++j] = ch;
hbuf++;
}
return buf;
@@ -328,11 +328,11 @@ BOOL rowParse(ROWCELL* &cell, ROWCELL* parent, char *tbuf, int &hbuf, int &seque word = rowParserGetNextWord(tbuf, hbuf);
int cont;
- if (!_strnicmp(word, " < tr", strlen(word)) ||!_strnicmp(word, " < tr>", strlen(word))) cont = TC_ROW;
- else if (!_strnicmp(word, " < tc", strlen(word)) ||!_strnicmp(word, " < tc>", strlen(word))) cont = TC_COL;
+ if (!_strnicmp(word, "<tr", strlen(word)) ||!_strnicmp(word, "<tr>", strlen(word))) cont = TC_ROW;
+ else if (!_strnicmp(word, "<tc", strlen(word)) ||!_strnicmp(word, "<tc>", strlen(word))) cont = TC_COL;
else if (!_strnicmp(word, "/>", strlen(word))||
- !_strnicmp(word, " < /tr>", strlen(word))||
- !_strnicmp(word, " < /tc>", strlen(word))) return TRUE;
+ !_strnicmp(word, "</tr>", strlen(word))||
+ !_strnicmp(word, "</tc>", strlen(word))) return TRUE;
else return FALSE;
rowAddCell(cell, cont);
|