summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_newrowopts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-07 10:31:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-07 10:31:56 +0000
commit767d070330f3fb669495b2e3481f0c8abfcd1300 (patch)
tree7f602995f26ad699be203d535a469a895268e49c /plugins/Clist_modern/modern_newrowopts.cpp
parent5ad48842d4520b3f34283c6c48be98ddbe9f23d5 (diff)
- one more crash fix;
- cache functionality fixed; - strange type 'boolean' removed - all header files included into project git-svn-id: http://svn.miranda-ng.org/main/trunk@811 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_newrowopts.cpp')
-rw-r--r--plugins/Clist_modern/modern_newrowopts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/modern_newrowopts.cpp b/plugins/Clist_modern/modern_newrowopts.cpp
index 669fad8fa7..fabbbf6adb 100644
--- a/plugins/Clist_modern/modern_newrowopts.cpp
+++ b/plugins/Clist_modern/modern_newrowopts.cpp
@@ -53,7 +53,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));
@@ -69,7 +69,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++)
@@ -87,7 +87,7 @@ BOOL RemoveChildNode(NodeList * FromList, DWORD index)
BOOL RemoveNode(NodeList * FromList)
{
- if (!FromList) return FALSE;
+ if ( !FromList) return FALSE;
if (FromList->itemParent)
{
DWORD k;
@@ -118,7 +118,7 @@ void PrintIdent()
void TraceTreeLevel(NodeList * node)
{
DWORD i;
- if (!node) return;
+ if ( !node) return;
PrintIdent();
{
char buf[255];