summaryrefslogtreecommitdiff
path: root/src/rtfformatting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfformatting.h')
-rw-r--r--src/rtfformatting.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfformatting.h b/src/rtfformatting.h
index f2d0581..aa5ac58 100644
--- a/src/rtfformatting.h
+++ b/src/rtfformatting.h
@@ -155,7 +155,7 @@ public:
void textSetFont(int font)
{ m_font = font; }
void textSetFontSize(int fsize)
- { m_fsize = fsize; }
+ { m_fsize = fsize == 24 ? -1 : fsize; } // default font size is always 24
void paraSetStyle(int style)
{ m_style = style; }
void paraSetList(int list)