mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Use specific negative assertion for gfx platform macos font
This commit is contained in:
parent
8fedc3a188
commit
4765b7b248
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ impl FontHandleMethods for FontHandle {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert!(glyphs[0] != 0); // FIXME: error handling
|
assert_ne!(glyphs[0], 0); // FIXME: error handling
|
||||||
return Some(glyphs[0] as GlyphId);
|
return Some(glyphs[0] as GlyphId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue