summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_newrowopts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-23 20:05:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-23 20:05:16 +0000
commit77ece3939612fb0133d20815883e4ed50a10230e (patch)
tree39ebd782bf53759e42c97b616559e88932d8137d /plugins/Clist_modern/src/modern_newrowopts.cpp
parentbddc04b139e8dfb3ecfb37af1fbf32965b15c577 (diff)
fixes bug #188 completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@7842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_newrowopts.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_newrowopts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_newrowopts.cpp b/plugins/Clist_modern/src/modern_newrowopts.cpp
index adf97e27d8..4e44190c77 100644
--- a/plugins/Clist_modern/src/modern_newrowopts.cpp
+++ b/plugins/Clist_modern/src/modern_newrowopts.cpp
@@ -52,7 +52,7 @@ NodeList * RootNode = NULL;
NodeList * AddNode(NodeList * Parent)
{
NodeList * res;
- if ( !Parent)
+ if (!Parent)
{
res = (NodeList *)mir_alloc(sizeof(NodeList));
memset(res, 0, sizeof(NodeList));
@@ -68,7 +68,7 @@ NodeList * AddNode(NodeList * Parent)
BOOL RemoveChildNode(NodeList * FromList, DWORD index)
{
- if ( !FromList) return FALSE;
+ if (!FromList) return FALSE;
if (FromList->AllocatedChilds <= index) return FALSE;
NodeList *work = &(FromList->childNodes[index]);
for (size_t i=0; i < work->AllocatedChilds; i++)
@@ -86,7 +86,7 @@ BOOL RemoveChildNode(NodeList * FromList, DWORD index)
BOOL RemoveNode(NodeList * FromList)
{
- if ( !FromList) return FALSE;
+ if (!FromList) return FALSE;
if (FromList->itemParent)
{
DWORD k;
@@ -117,7 +117,7 @@ void PrintIdent()
void TraceTreeLevel(NodeList * node)
{
DWORD i;
- if ( !node) return;
+ if (!node) return;
PrintIdent();
{
char buf[255];