Skip to content

Commit

Permalink
Fix strange indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
deokjinkim committed Oct 3, 2013
1 parent 46776e1 commit 7716c2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/gfx/font.rs
Expand Up @@ -478,12 +478,12 @@ impl Font {
}

pub fn glyph_h_advance(&mut self, glyph: GlyphIndex) -> FractionalPixel {
do self.glyph_advance_cache.find_or_create(&glyph) |glyph| {
match self.handle.glyph_h_advance(*glyph) {
Some(adv) => adv,
None => /* FIXME: Need fallback strategy */ 10f as FractionalPixel
}
}
do self.glyph_advance_cache.find_or_create(&glyph) |glyph| {
match self.handle.glyph_h_advance(*glyph) {
Some(adv) => adv,
None => /* FIXME: Need fallback strategy */ 10f as FractionalPixel
}
}
}
}

Expand Down

0 comments on commit 7716c2b

Please sign in to comment.