summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-05-06 12:30:18 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-05-06 12:30:18 (GMT)
commit0b087b99d43fb3803b26407d771ca32e6cf5c34b (patch)
treecfc812b095178411db5aae564fc43cac8b714078 /src/memberdef.cpp
parent80f45b6274c81f9cfd1772e5039005124ae04fab (diff)
downloadDoxygen-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.cpp7
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)