summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-09-03 21:32:14 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-09-03 21:32:14 +0000
commit467cf1085309d647f5410fb4a62074671c0ebce5 (patch)
treefcf7fe8b3f589ce4758eaaa7ff085c908cd5c174 /src
parentremove glib dependency, but add return statements to help compiler and preven... (diff)
downloadinkscape-467cf1085309d647f5410fb4a62074671c0ebce5.tar.gz
inkscape-467cf1085309d647f5410fb4a62074671c0ebce5.zip
libnrtype, Layout-TNG-Compute: initialize variables. fixes compiler warning
(bzr r13341.1.196)
Diffstat (limited to 'src')
-rw-r--r--src/libnrtype/Layout-TNG-Compute.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp
index 973db0165..7eb53446f 100644
--- a/src/libnrtype/Layout-TNG-Compute.cpp
+++ b/src/libnrtype/Layout-TNG-Compute.cpp
@@ -854,6 +854,8 @@ void Layout::Calculator::BrokenSpan::setZero()
end_glyph_index = start_glyph_index = 0;
ends_with_whitespace = false;
each_whitespace_width = 0.0;
+ letter_spacing = 0.0;
+ word_spacing = 0.0;
}
template<typename T> void Layout::Calculator::ParagraphInfo::free_sequence(T &seq)