From 5dc70b5e6f77230073957b6abd61981aeefc7361 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 27 Oct 2006 00:23:58 +0000 Subject: Don't mark italic stuff as strike through. --- ChangeLog | 3 +++ src/rtfformatting.h | 4 ++-- 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; -- cgit v1.2.3