diff options
Diffstat (limited to 'alacritty/src/renderer/mod.rs')
-rw-r--r-- | alacritty/src/renderer/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index 4d752463..414d9bd5 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -481,7 +481,7 @@ impl Batch { self.instances.push(InstanceData { col: cell.point.column.0 as u16, - row: cell.point.line.0 as u16, + row: cell.point.line as u16, top: glyph.top, left: glyph.left, @@ -830,7 +830,7 @@ impl<'a> RenderApi<'a> { pub fn render_string( &mut self, glyph_cache: &mut GlyphCache, - point: Point, + point: Point<usize>, fg: Rgb, bg: Rgb, string: &str, @@ -846,7 +846,6 @@ impl<'a> RenderApi<'a> { bg_alpha: 1.0, fg, bg, - is_match: false, }) .collect::<Vec<_>>(); |