summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 10:27:41 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 10:27:41 +0000
commit555712c0db9d0b724828f45bd3ebc5f169405d9c (patch)
tree38f858a4dd46684ae3a1d10ac23f2aafd5d03720 /src/text-editing.cpp
parentmodernize loops (2) (diff)
downloadinkscape-555712c0db9d0b724828f45bd3ebc5f169405d9c.tar.gz
inkscape-555712c0db9d0b724828f45bd3ebc5f169405d9c.zip
modernize: add overrides
Diffstat (limited to 'src/text-editing.cpp')
-rw-r--r--src/text-editing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-editing.cpp b/src/text-editing.cpp
index 8849faa4f..5291be09e 100644
--- a/src/text-editing.cpp
+++ b/src/text-editing.cpp
@@ -1241,7 +1241,7 @@ sp_te_adjust_line_height (SPObject *object, double amount, double average, bool
// Always set if top level true.
// Also set if line_height is set to a non-zero value.
if (top_level ||
- (style->line_height.set && !style->line_height.inherit && (((!(((style->line_height.computed))) == 0))))){
+ (style->line_height.set && !style->line_height.inherit && style->line_height.computed != 0)){
// Scale default values
if (!style->line_height.set || style->line_height.inherit || style->line_height.normal) {