Skip to content

Commit fba4aed

Browse files
Fix clippy warning
1 parent 8c1f539 commit fba4aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl Mode {
180180
Format::Text8x8 | Format::Text8x16 => (horizontal_pixels / 8) * 2,
181181
Format::Chunky32 => horizontal_pixels * 4,
182182
Format::Chunky16 => horizontal_pixels * 2,
183-
Format::Chunky8 => horizontal_pixels * 1,
183+
Format::Chunky8 => horizontal_pixels,
184184
Format::Chunky4 => horizontal_pixels / 2,
185185
Format::Chunky2 => horizontal_pixels / 4,
186186
Format::Chunky1 => horizontal_pixels / 8,

0 commit comments

Comments
 (0)