diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-08-22 19:30:14 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-08-22 19:30:14 (GMT) |
commit | ce8facca2c23f4656747ad3a5b4a8db475855e27 (patch) | |
tree | e5faa5e8d675f525b1cd2f397645136f8193b36f /src/memberdef.cpp | |
parent | f0e47672cc3f910aebd1d30fe3db21e9dbd943c4 (diff) | |
download | Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.zip Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.tar.gz Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.tar.bz2 |
Release-1.7.1-20100822
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index f221dd6..098c58e 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -2933,10 +2933,9 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl, typeDecl.writeChar(' '); } - if (numVisibleEnumValues>0) + uint enumValuesPerLine = (uint)Config_getInt("ENUM_VALUES_PER_LINE"); + if (numVisibleEnumValues>0 && enumValuesPerLine>0) { - uint enumValuesPerLine = (uint)Config_getInt("ENUM_VALUES_PER_LINE"); - if (enumValuesPerLine==0) enumValuesPerLine=1; typeDecl.docify("{ "); if (fmdl) { |