diff options
author | Joe Wilm <joe@jwilm.com> | 2017-05-06 09:15:50 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-06 12:53:54 -0700 |
commit | 1d949d72d4dcf3b569c85ebdbc7b252dcf8b9a2e (patch) | |
tree | f2e879dae30a6cc4d0d71d2a3b7b32555f4d649f | |
parent | 9316771f64842533181cfb04a27aa9ae809cc435 (diff) | |
download | alacritty-1d949d72d4dcf3b569c85ebdbc7b252dcf8b9a2e.tar.gz alacritty-1d949d72d4dcf3b569c85ebdbc7b252dcf8b9a2e.zip |
Work around ICE
-rw-r--r-- | src/renderer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 016518e5..3c18d28a 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -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 { |