aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/graphics/sixel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/graphics/sixel.rs')
-rw-r--r--alacritty_terminal/src/graphics/sixel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/graphics/sixel.rs b/alacritty_terminal/src/graphics/sixel.rs
index 221fe7cd..d617e53b 100644
--- a/alacritty_terminal/src/graphics/sixel.rs
+++ b/alacritty_terminal/src/graphics/sixel.rs
@@ -391,7 +391,7 @@ impl Parser {
return Ok(());
}
- if width > MAX_GRAPHIC_DIMENSIONS.0 || height > MAX_GRAPHIC_DIMENSIONS.1 {
+ if width > MAX_GRAPHIC_DIMENSIONS[0] || height > MAX_GRAPHIC_DIMENSIONS[1] {
return Err(Error::TooBigImage { width, height });
}