From 0424762097d2a6393d3eed4e2e0a7f32041cfa50 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 23 Jul 2007 12:18:24 +0000 Subject: Release-1.5.2-20070719 --- src/dot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dot.cpp b/src/dot.cpp index 412eeda..d8d4082 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -1478,11 +1478,11 @@ bool DotClassGraph::determineVisibleNodes(DotNode *rootNode, uint i; for (i=0;imaxWidth) maxWidth=childTreeWidth[i]; + if (childTreeWidth.at(i)>maxWidth) maxWidth=childTreeWidth.at(i); } for (i=0;imaxWidth) maxWidth=parentTreeWidth[i]; + if (parentTreeWidth.at(i)>maxWidth) maxWidth=parentTreeWidth.at(i); } //printf("max tree width=%d, max tree height=%d\n",maxWidth,maxHeight); return maxWidth>80 && maxHeight<12; // used metric to decide to render the tree -- cgit v0.12