diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-10-30 21:12:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-10-30 21:12:45 (GMT) |
commit | 1c68fd3fd1c4b63f4f2260e1d7785e61d71c0de6 (patch) | |
tree | 7d5c1ef91e61313f10266a746afd0d903d1e5f2a /src/memberlist.cpp | |
parent | a1116d64863123e6eda545de7ade61ae7dec7ffb (diff) | |
download | Doxygen-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.cpp | 7 |
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); |