mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-06 03:05:01 +03:00
Work around ICE
This commit is contained in:
1 parent
9316771f64
commit
1d949d72d4
1 file changed
+1
-1
+1
-1
@@ -228,7 +228,7 @@ impl GlyphCache {
|
||||
// Need to load at least one glyph for the face before calling metrics.
|
||||
// The glyph requested here ('m' at the time of writing) has no special
|
||||
// meaning.
|
||||
rasterizer.get_glyph(&GlyphKey { font_key: regular, c: 'm' as char, size: font.size() })?;
|
||||
rasterizer.get_glyph(&GlyphKey { font_key: regular, c: 'm', size: font.size() })?;
|
||||
let metrics = rasterizer.metrics(regular)?;
|
||||
|
||||
let mut cache = GlyphCache {
|
||||
|
||||
Reference in new issue
Block a user