summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-29 17:51:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-29 17:51:51 (GMT)
commit44ca9512aaeb19f7fbd07afda88ec4cfe53ce831 (patch)
treea8d7cbd0da612bb0b1fa97dcc1bac1838f845338 /src/dot.cpp
parentf3e0c94b327d47e5c3d3a36a9a6300cee8d2a537 (diff)
downloadDoxygen-44ca9512aaeb19f7fbd07afda88ec4cfe53ce831.zip
Doxygen-44ca9512aaeb19f7fbd07afda88ec4cfe53ce831.tar.gz
Doxygen-44ca9512aaeb19f7fbd07afda88ec4cfe53ce831.tar.bz2
Release-1.8.0-20120429
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 5a1c52c..78dc451 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1593,9 +1593,9 @@ static void writeBoxMemberList(FTextStream &t,
(skipNames==0 || skipNames->find(mma->name())==0))
{
static int limit = Config_getInt("UML_LIMIT_NUM_FIELDS");
- if (limit==0 || (totalCount>=limit*3/2 && count>=limit))
+ if (limit>0 && (totalCount>limit*3/2 && count>=limit))
{
- t << theTranslator->trAndMore(QCString().sprintf("%d",totalCount-count-1));
+ t << theTranslator->trAndMore(QCString().sprintf("%d",totalCount-count));
break;
}
else