diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-07-23 12:18:24 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-07-23 12:18:24 (GMT) |
commit | 54e919c70d5a43e260b188d5c71fd7c54ce874f0 (patch) | |
tree | 3516b1c8607df481887b3e11085f95b9097b8ce3 /src/dot.cpp | |
parent | 687fe7a1487c68f0c6b4ef7d169b23ff274ab9ca (diff) | |
download | Doxygen-54e919c70d5a43e260b188d5c71fd7c54ce874f0.zip Doxygen-54e919c70d5a43e260b188d5c71fd7c54ce874f0.tar.gz Doxygen-54e919c70d5a43e260b188d5c71fd7c54ce874f0.tar.bz2 |
Release-1.5.2-20070719
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 4 |
1 files 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;i<childTreeWidth.size();i++) { - if (childTreeWidth[i]>maxWidth) maxWidth=childTreeWidth[i]; + if (childTreeWidth.at(i)>maxWidth) maxWidth=childTreeWidth.at(i); } for (i=0;i<parentTreeWidth.size();i++) { - if (parentTreeWidth[i]>maxWidth) 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 |