diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2007-05-06 12:30:18 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2007-05-06 12:30:18 (GMT) |
commit | 0b087b99d43fb3803b26407d771ca32e6cf5c34b (patch) | |
tree | cfc812b095178411db5aae564fc43cac8b714078 /src/memberdef.cpp | |
parent | 80f45b6274c81f9cfd1772e5039005124ae04fab (diff) | |
download | Doxygen-0b087b99d43fb3803b26407d771ca32e6cf5c34b.zip Doxygen-0b087b99d43fb3803b26407d771ca32e6cf5c34b.tar.gz Doxygen-0b087b99d43fb3803b26407d771ca32e6cf5c34b.tar.bz2 |
Release-1.5.2-20070506
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index e149cc9..d00516b 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -3436,8 +3436,11 @@ void MemberDef::setBitfields(const char *s) void MemberDef::setMaxInitLines(int lines) { - makeResident(); - m_impl->userInitLines=lines; + if (lines!=-1) + { + makeResident(); + m_impl->userInitLines=lines; + } } void MemberDef::setExplicitExternal(bool b) |