mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibGfx/PortableFormat: Simplify the State enum
This enum used to store very precise state about the decoding process, let's simplify that by only including two steps: HeaderDecoder and BitmapDecoded.
This commit is contained in:
committed by
Sam Atkins
parent
f6ce06d56b
commit
f3ff9c26bc
@@ -49,7 +49,7 @@ ErrorOr<void> read_image_data(PBMLoadingContext& context)
|
||||
}
|
||||
}
|
||||
|
||||
context.state = PBMLoadingContext::State::Bitmap;
|
||||
context.state = PBMLoadingContext::State::BitmapDecoded;
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user