summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 09:41:30 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 09:41:30 +0000
commit169dff19d4da8d76e69b8e896aa25b0013639c03 (patch)
treea0c070fa95188b5cde708ac285e6a2db9df4a83f /src/text-editing.cpp
parentAvoid creating a new document before opening an old document. (diff)
downloadinkscape-169dff19d4da8d76e69b8e896aa25b0013639c03.tar.gz
inkscape-169dff19d4da8d76e69b8e896aa25b0013639c03.zip
modernize loops
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 145e5a4b4..98c566e8b 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) {