diff options
author | Aaron Williamson <guitarfanman@gmail.com> | 2017-04-22 14:01:25 -0600 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-01 08:52:22 -0700 |
commit | 1277e07671a15b87832af90c7244a0cac480b829 (patch) | |
tree | 0fa3a16741612d745dd7ce414cf3b4ecab2e66f0 /src/renderer | |
parent | 7fc50f669056dc9a3a601b3f0248926384abb570 (diff) | |
download | alacritty-1277e07671a15b87832af90c7244a0cac480b829.tar.gz alacritty-1277e07671a15b87832af90c7244a0cac480b829.zip |
Remove unnecessary size argument to metrics function
The changes to metric consumption rendered the size argument
unnecessary, remove it.
Diffstat (limited to 'src/renderer')
-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 585bea10..13e84807 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -246,7 +246,7 @@ impl GlyphCache { pub fn font_metrics(&self) -> font::Metrics { self.rasterizer - .metrics(self.font_key, self.font_size) + .metrics(self.font_key) .expect("metrics load since font is loaded at glyph cache creation") } |