Skip to content

Commit

Permalink
Forgot ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Roughsketch committed May 11, 2023
1 parent 1751e64 commit c33cdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formats/pnm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn size<R: BufRead + Seek>(reader: &mut R) -> ImageResult<ImageSize> {

// If it's a comment, skip until newline
if trimmed_line.starts_with('#') {
read_until_capped(reader, b'\n', 1024);
read_until_capped(reader, b'\n', 1024)?;
continue
}

Expand Down

0 comments on commit c33cdb8

Please sign in to comment.