summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
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;