summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-02-17 19:40:38 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-02-17 19:40:38 (GMT)
commit712ab49d04f9fe525b8552f74945945347e3b553 (patch)
treec2ee5bb85f9acfb3caa8479c32b49a1bf03de752 /src/docparser.h
parenteba15fd2fe9a0b186fbf7b63d7eab729057c7f6b (diff)
downloadDoxygen-712ab49d04f9fe525b8552f74945945347e3b553.zip
Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.tar.gz
Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.tar.bz2
Release-1.7.3-20110217
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docparser.h b/src/docparser.h
index af5f85d..39f0fe5 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -451,7 +451,7 @@ class DocFormula : public DocNode
QCString relPath() const { return m_relPath; }
int id() const { return m_id; }
void accept(DocVisitor *v) { v->visit(this); }
- bool isInline() { return text().at(0)!='\\'; }
+ bool isInline() { return m_text.length()>0 ? m_text.at(0)!='\\' : TRUE; }
private:
QCString m_name;