summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-10-18 15:16:13 +0000
committerShlomi Fish <shlomif@shlomifish.org>2019-05-22 12:58:25 +0000
commit47a82a650d44e60fa845cc13eddee09bb1c2c02c (patch)
treed033c96469b21e32647ff72ac69cedbd668f923c /src
parentExtract a common expression into a variable/const. (diff)
downloadinkscape-47a82a650d44e60fa845cc13eddee09bb1c2c02c.tar.gz
inkscape-47a82a650d44e60fa845cc13eddee09bb1c2c02c.zip
Fix formatting and trailing space.
Diffstat (limited to 'src')
-rw-r--r--src/display/nr-style.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/display/nr-style.cpp b/src/display/nr-style.cpp
index 1832a5f51..fc1b19a71 100644
--- a/src/display/nr-style.cpp
+++ b/src/display/nr-style.cpp
@@ -302,7 +302,7 @@ void NRStyle::set(SPStyle *style, SPStyle *context_style)
text_decoration_stroke.set(&(style_td->stroke));
}
- if(text_decoration_line != TEXT_DECORATION_LINE_CLEAR){
+ if (text_decoration_line != TEXT_DECORATION_LINE_CLEAR) {
phase_length = style->text_decoration_data.phase_length;
tspan_line_start = style->text_decoration_data.tspan_line_start;
tspan_line_end = style->text_decoration_data.tspan_line_end;
@@ -310,13 +310,13 @@ void NRStyle::set(SPStyle *style, SPStyle *context_style)
ascender = style->text_decoration_data.ascender;
descender = style->text_decoration_data.descender;
underline_thickness = style->text_decoration_data.underline_thickness;
- underline_position = style->text_decoration_data.underline_position;
+ underline_position = style->text_decoration_data.underline_position;
line_through_thickness = style->text_decoration_data.line_through_thickness;
line_through_position = style->text_decoration_data.line_through_position;
- font_size = style->font_size.computed;
+ font_size = style->font_size.computed;
}
-
- text_direction = style->direction.computed;
+
+ text_direction = style->direction.computed;
update();
}