summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/rtfformatting.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 28e43b4..064fd10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Version 1.0.1
+ - Fix bug where italics would sometimes be tagged as strike through
+
Version 1.0
- Don't let most characters below 0x0020 through. Old RTF's seem
to have these for strange reasons.
diff --git a/src/rtfformatting.h b/src/rtfformatting.h
index 78f4cc2..9b33079 100644
--- a/src/rtfformatting.h
+++ b/src/rtfformatting.h
@@ -64,7 +64,7 @@ public:
{
return m_bold == format.m_bold &&
m_italic == format.m_italic &&
- m_strike == format.m_italic &&
+ m_strike == format.m_strike &&
m_hidden == format.m_hidden &&
m_underline == format.m_underline &&
m_color == format.m_color &&
@@ -88,7 +88,7 @@ public:
{
m_bold = format.m_bold;
m_italic = format.m_italic;
- m_strike = format.m_italic;
+ m_strike = format.m_strike;
m_hidden = format.m_hidden;
m_underline = format.m_underline;
m_color = format.m_color;