1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

LibGfx: Fix a spelling mistake in a variable name

This commit is contained in:
Gunnar Beutner 2021-08-01 07:23:54 +02:00 committed by Andreas Kling
parent e511390423
commit e4538ce8ef

View file

@ -79,8 +79,8 @@ void PNGChunk::store_type()
void PNGChunk::store_data_length()
{
auto data_lenth = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
__builtin_memcpy(m_data.offset_pointer(0), &data_lenth, sizeof(u32));
auto data_length = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
__builtin_memcpy(m_data.offset_pointer(0), &data_length, sizeof(u32));
}
u32 PNGChunk::crc()