mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
Libraries: Fix typos
This commit is contained in:
parent
9ec9886b04
commit
de72332920
Notes:
sideshowbarker
2024-07-18 03:16:24 +09:00
Author: https://github.com/nico
Commit: de72332920
Pull-request: https://github.com/SerenityOS/serenity/pull/10284
Reviewed-by: https://github.com/linusg ✅
9 changed files with 10 additions and 10 deletions
|
@ -796,7 +796,7 @@ static bool decode_dds(DDSLoadingContext& context)
|
|||
|
||||
decode_bitmap(stream, context, format, width, height);
|
||||
|
||||
// We support parsing mipmaps, but we only care about the largest one :^) (Atleast for now)
|
||||
// We support parsing mipmaps, but we only care about the largest one :^) (At least for now)
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1020,7 +1020,7 @@ bool DDSImageDecoderPlugin::set_nonvolatile(bool& was_purged)
|
|||
|
||||
bool DDSImageDecoderPlugin::sniff()
|
||||
{
|
||||
// The header is always atleast 128 bytes, so if the file is smaller, it cant be a DDS.
|
||||
// The header is always at least 128 bytes, so if the file is smaller, it can't be a DDS.
|
||||
return m_context->data_size > 128
|
||||
&& m_context->data[0] == 0x44
|
||||
&& m_context->data[1] == 0x44
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue