From 639dcae83fd1c047a98f039756aca6fd2a0280f6 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 28 Feb 2017 15:03:26 +0100 Subject: [PATCH] c++ style --- src/text/text_line.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/text_line.cpp b/src/text/text_line.cpp index 1325a23a7..77300aaf5 100644 --- a/src/text/text_line.cpp +++ b/src/text/text_line.cpp @@ -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)); }