summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-10-30 21:12:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-10-30 21:12:45 (GMT)
commit1c68fd3fd1c4b63f4f2260e1d7785e61d71c0de6 (patch)
tree7d5c1ef91e61313f10266a746afd0d903d1e5f2a /src/memberlist.cpp
parenta1116d64863123e6eda545de7ade61ae7dec7ffb (diff)
downloadDoxygen-1c68fd3fd1c4b63f4f2260e1d7785e61d71c0de6.zip
Doxygen-1c68fd3fd1c4b63f4f2260e1d7785e61d71c0de6.tar.gz
Doxygen-1c68fd3fd1c4b63f4f2260e1d7785e61d71c0de6.tar.bz2
Release-1.2.3
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index 3e7b7a0..17b9226 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -302,7 +302,6 @@ void MemberList::writePlainDeclarations(OutputList &ol,
typeDecl.writeChar(' ');
}
- const uint MAX_ENUM_VALUES_FOR_ONE_LINE = 4;
int enumMemCount=0;
typeDecl.docify("{ ");
@@ -313,8 +312,8 @@ void MemberList::writePlainDeclarations(OutputList &ol,
while (fmd)
{
/* in html we start a new line after a number of items */
- if (fmdl->count()>MAX_ENUM_VALUES_FOR_ONE_LINE
- && (enumMemCount%MAX_ENUM_VALUES_FOR_ONE_LINE)==0
+ if (fmdl->count()>(uint)Config::enumValuesPerLine
+ && (enumMemCount%(uint)Config::enumValuesPerLine)==0
)
{
typeDecl.pushGeneratorState();
@@ -348,7 +347,7 @@ void MemberList::writePlainDeclarations(OutputList &ol,
typeDecl.enable(OutputGenerator::Man);
enumMemCount++;
}
- if (fmdl->count()>MAX_ENUM_VALUES_FOR_ONE_LINE)
+ if (fmdl->count()>(uint)Config::enumValuesPerLine)
{
typeDecl.pushGeneratorState();
typeDecl.disableAllBut(OutputGenerator::Html);