From 467cf1085309d647f5410fb4a62074671c0ebce5 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 3 Sep 2014 23:32:14 +0200 Subject: libnrtype, Layout-TNG-Compute: initialize variables. fixes compiler warning (bzr r13341.1.196) --- src/libnrtype/Layout-TNG-Compute.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 void Layout::Calculator::ParagraphInfo::free_sequence(T &seq) -- cgit v1.2.3