mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibGfx: Fix a spelling mistake in a variable name
This commit is contained in:
parent
e511390423
commit
e4538ce8ef
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ void PNGChunk::store_type()
|
||||||
|
|
||||||
void PNGChunk::store_data_length()
|
void PNGChunk::store_data_length()
|
||||||
{
|
{
|
||||||
auto data_lenth = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
|
auto data_length = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
|
||||||
__builtin_memcpy(m_data.offset_pointer(0), &data_lenth, sizeof(u32));
|
__builtin_memcpy(m_data.offset_pointer(0), &data_length, sizeof(u32));
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 PNGChunk::crc()
|
u32 PNGChunk::crc()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue