c++ style

This commit is contained in:
artemp 2017-02-28 15:03:26 +01:00
parent 7c93514fbc
commit 639dcae83f

View file

@ -64,7 +64,7 @@ void text_line::add_glyph(glyph_info && glyph, double scale_factor_)
// Only add character spacing if the character is not a zero-width part of a cluster.
width_ += advance + glyphs_.back().format->character_spacing * scale_factor_;
glyphs_width_ += advance;
space_count_++;
++space_count_;
}
glyphs_.emplace_back(std::move(glyph));
}