summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-10-27 00:23:58 +0000
committerStef Walter <stef@memberwebs.com>2006-10-27 00:23:58 +0000
commit5dc70b5e6f77230073957b6abd61981aeefc7361 (patch)
treeefb114a022e481b8e2ea3acbae27ce715c435b73
parentd8013331aef8bf21f01e129f8e793ed51d81082a (diff)
Don't mark italic stuff as strike through.
-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;