summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-06-10 08:52:17 (GMT)
committerGitHub <noreply@github.com>2018-06-10 08:52:17 (GMT)
commit72d1e4fb88c411a93140811d02c8bb9e90aae808 (patch)
treeceb102081a04b1779844dcf3c535b089554a69e2 /src/rtfgen.cpp
parent0382d318e46d3cb5e8a706d2a137bfa1a36ece6b (diff)
parent67a22b2d5b9c14a325374dd8857e066b11abb7ca (diff)
downloadDoxygen-72d1e4fb88c411a93140811d02c8bb9e90aae808.zip
Doxygen-72d1e4fb88c411a93140811d02c8bb9e90aae808.tar.gz
Doxygen-72d1e4fb88c411a93140811d02c8bb9e90aae808.tar.bz2
Merge pull request #744 from albert-github/feature/bug_774597
Bug 774597 - Title in rtf file is incorrect when overridden by user in extension file
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index e41700b..fc6fdfc 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -602,7 +602,7 @@ void RTFGenerator::endIndexSection(IndexSections is)
t << rtf_Style_Reset << rtf_Style["Title"]->reference << endl; // set to title style
if (rtf_title)
// User has overridden document title in extensions file
- t << "{\\field\\fldedit {\\*\\fldinst " << rtf_title << " \\\\*MERGEFORMAT}{\\fldrslt " << rtf_title << "}}\\par" << endl;
+ t << "{\\field\\fldedit {\\*\\fldinst TITLE \\\\*MERGEFORMAT}{\\fldrslt " << rtf_title << "}}\\par" << endl;
else
{
DocText *root = validatingParseText(projectName);