mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Fix warnings.
This commit is contained in:
parent
648b4991b9
commit
7934bf294d
2 changed files with 4 additions and 4 deletions
|
@ -723,7 +723,7 @@ impl<'a> GlyphStore {
|
|||
for index in range.each_index() {
|
||||
// TODO(pcwalton): Handle spaces that are detailed glyphs -- these are uncommon but
|
||||
// possible.
|
||||
let mut entry = &mut self.entry_buffer[index.to_uint()];
|
||||
let entry = &mut self.entry_buffer[index.to_uint()];
|
||||
if entry.is_simple() && entry.char_is_space() {
|
||||
// FIXME(pcwalton): This can overflow for very large font-sizes.
|
||||
let advance =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue