Author: mmlr Date: 2010-01-13 16:52:21 +0100 (Wed, 13 Jan 2010) New Revision: 35053 Changeset: http://dev.haiku-os.org/changeset/35053/haiku Modified: haiku/trunk/src/kits/tracker/PoseView.cpp Log: anevilyak: * Fix missing parenthesis in r35040 that caused node monitoring not to work. * Minor automatic whitespace cleanup. Modified: haiku/trunk/src/kits/tracker/PoseView.cpp =================================================================== --- haiku/trunk/src/kits/tracker/PoseView.cpp 2010-01-13 15:46:08 UTC (rev 35052) +++ haiku/trunk/src/kits/tracker/PoseView.cpp 2010-01-13 15:52:21 UTC (rev 35053) @@ -588,7 +588,7 @@ const char * BPoseView::ForeignViewStateAttributeName() const { - return IsDesktopView() ? kAttrDesktopViewStateForeign + return IsDesktopView() ? kAttrDesktopViewStateForeign : kAttrViewStateForeign; } @@ -4897,7 +4897,7 @@ if (dirNode != *TargetModel()->NodeRef() && !TargetModel()->IsQuery() && !TargetModel()->IsRoot() - && !settings.ShowDisksIcon() || !IsDesktopView()) + && (!settings.ShowDisksIcon() || !IsDesktopView())) // stray notification break; @@ -5196,7 +5196,7 @@ return DeletePose(&itemNode); else if (dirNode.node == thisDirNode.node) EntryCreated(&dirNode, &itemNode, name); - + return true; }