update incorrect comment that was clearly copy+pasted and then missed

This commit is contained in:
Gered 2022-12-30 17:46:47 -05:00
parent 319bea7305
commit a97782d476

View file

@ -363,7 +363,7 @@ fn load_image_section<T: ReadBytesExt>(
num_colors, num_colors,
)?); )?);
} else { } else {
palette = None; // we expect to find a local color table later palette = None; // we expect that there was a global color table previously
} }
let mut bitmap = Bitmap::new(gif_header.screen_width as u32, gif_header.screen_height as u32).unwrap(); let mut bitmap = Bitmap::new(gif_header.screen_width as u32, gif_header.screen_height as u32).unwrap();