Skip to content

Commit b3056da

Browse files
committed
With the simple file
``` /// \file ``` and setting ``` GENERATE_RTF=YES ``` we get in the messages a number of times the message: ``` Style 'Heading6' redefines \s5. ``` This has been corrected and made from message to an "error".
1 parent 14fc65f commit b3056da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rtfgen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ void RTFGenerator::beginRTFDocument()
561561
uint32_t index = data.index();
562562
if (array[index] != nullptr)
563563
{
564-
msg("Style '%s' redefines \\s%d.\n", name.c_str(), index);
564+
err("Style '%s' redefines \\s%d.\n", name.c_str(), index);
565565
}
566566
array[index] = &data;
567567
}

src/rtfstyle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Rtf_Style_Default rtf_Style_Default[] =
108108
"\\sbasedon0 \\snext0 heading 5;}{\\*\\cs10 \\additive Default Paragraph Font"
109109
},
110110
{ "Heading6",
111-
"\\s5\\sb90\\sa30\\keepn\\widctlpar\\adjustright \\b\\f1\\fs12\\cgrid ",
111+
"\\s6\\sb90\\sa30\\keepn\\widctlpar\\adjustright \\b\\f1\\fs12\\cgrid ",
112112
"\\sbasedon0 \\snext0 heading 6;}{\\*\\cs10 \\additive Default Paragraph Font"
113113
},
114114
{ "Title",

0 commit comments

Comments
 (0)