diff options
author | treectrl <treectrl> | 2006-12-23 04:32:07 (GMT) |
---|---|---|
committer | treectrl <treectrl> | 2006-12-23 04:32:07 (GMT) |
commit | 2ae3abadaaaef0a40802dfd02d30f7651e5143aa (patch) | |
tree | d44e5776fb4c98902d25df51fb02f8bcbb9f671d /generic/tkTreeDisplay.c | |
parent | a9ff473e6877e9396c51c8866c09296a8b5a6e11 (diff) | |
download | tktreectrl-2ae3abadaaaef0a40802dfd02d30f7651e5143aa.zip tktreectrl-2ae3abadaaaef0a40802dfd02d30f7651e5143aa.tar.gz tktreectrl-2ae3abadaaaef0a40802dfd02d30f7651e5143aa.tar.bz2 |
Formatting of braces (again).
Diffstat (limited to 'generic/tkTreeDisplay.c')
-rw-r--r-- | generic/tkTreeDisplay.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/generic/tkTreeDisplay.c b/generic/tkTreeDisplay.c index 25286d1..244fc13 100644 --- a/generic/tkTreeDisplay.c +++ b/generic/tkTreeDisplay.c @@ -5,7 +5,7 @@ * * Copyright (c) 2002-2006 Tim Baker * - * RCS: @(#) $Id: tkTreeDisplay.c,v 1.79 2006/12/22 04:43:40 treectrl Exp $ + * RCS: @(#) $Id: tkTreeDisplay.c,v 1.80 2006/12/23 04:32:08 treectrl Exp $ */ #include "tkTreeCtrl.h" @@ -333,8 +333,7 @@ Range_Redo( if (tree->columnTreeVis) columnWidth += TreeItem_Indent(tree, item); rItem->size = columnWidth; - } - else + } else rItem->size = 0; if ((stepWidth != -1) && (rItem->size % stepWidth)) rItem->size += stepWidth - rItem->size % stepWidth; @@ -6319,8 +6318,7 @@ Tree_SetOriginX( /* Add some fake content to right */ if (offset + visWidth > totWidth) totWidth = offset + visWidth; - } - else + } else indexMax = Increment_FindX(tree, totWidth); xOrigin += Tree_ContentLeft(tree); /* origin -> canvas */ @@ -6402,8 +6400,7 @@ Tree_SetOriginY( /* Add some fake content to bottom */ if (offset + visHeight > totHeight) totHeight = offset + visHeight; - } - else + } else indexMax = Increment_FindY(tree, totHeight); yOrigin += Tree_ContentTop(tree); /* origin -> canvas */ |