summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index d3cf823..a3cc0b5 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -82,7 +82,7 @@ PageDef *createPageDef(const char *f,int l,const char *n,const char *d,const cha
PageDefImpl::PageDefImpl(const char *f,int l,const char *n,
const char *d,const char *t)
- : DefinitionMixin(f,l,1,n), m_title(t)
+ : DefinitionMixin(f,l,1,n), m_title(t?t:n)
{
setDocumentation(d,f,l);
m_pageScope = 0;