diff options
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 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 |