Fix font segfaults

This commit is contained in:
Brian Anderson 2012-09-12 17:54:12 -07:00
parent 0bae84c985
commit 275d456118

View file

@ -33,7 +33,7 @@ impl Font {
}
}
fn Font(fontbuf: ~[u8], native_font: NativeFont) -> Font {
fn Font(fontbuf: ~[u8], +native_font: NativeFont) -> Font {
Font {
fontbuf : @fontbuf,
native_font : native_font,