From 0d8b8ca63a43fbbd1044827d60cad61f9ada7efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 19 Jan 2014 23:28:02 +0100 Subject: [PATCH] ParagraphStyleData: Fixed line spacing not being set/adopted/compared. --- src/apps/haiku-depot/textview/ParagraphStyleData.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/haiku-depot/textview/ParagraphStyleData.cpp b/src/apps/haiku-depot/textview/ParagraphStyleData.cpp index a838de02c9..c721b197f7 100644 --- a/src/apps/haiku-depot/textview/ParagraphStyleData.cpp +++ b/src/apps/haiku-depot/textview/ParagraphStyleData.cpp @@ -15,6 +15,7 @@ ParagraphStyleData::ParagraphStyleData() fFirstLineInset(0.0f), fLineInset(0.0f), + fLineSpacing(0.0f), fSpacingTop(0.0f), fSpacingBottom(0.0f), @@ -31,6 +32,7 @@ ParagraphStyleData::ParagraphStyleData(const ParagraphStyleData& other) fFirstLineInset(other.fFirstLineInset), fLineInset(other.fLineInset), + fLineSpacing(other.fLineSpacing), fSpacingTop(other.fSpacingTop), fSpacingBottom(other.fSpacingBottom), @@ -50,6 +52,7 @@ ParagraphStyleData::operator==(const ParagraphStyleData& other) const && fJustify == other.fJustify && fFirstLineInset == other.fFirstLineInset && fLineInset == other.fLineInset + && fLineSpacing == other.fLineSpacing && fSpacingTop == other.fSpacingTop && fSpacingBottom == other.fSpacingBottom && fBullet == other.fBullet;