c++ style
This commit is contained in:
parent
7c93514fbc
commit
639dcae83f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// 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_;
|
width_ += advance + glyphs_.back().format->character_spacing * scale_factor_;
|
||||||
glyphs_width_ += advance;
|
glyphs_width_ += advance;
|
||||||
space_count_++;
|
++space_count_;
|
||||||
}
|
}
|
||||||
glyphs_.emplace_back(std::move(glyph));
|
glyphs_.emplace_back(std::move(glyph));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue