Skip to content

Commit e4538ce

Browse files
gunnarbeutnerawesomekling
authored andcommitted
LibGfx: Fix a spelling mistake in a variable name
1 parent e511390 commit e4538ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Userland/Libraries/LibGfx/PNGWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ void PNGChunk::store_type()
7979

8080
void PNGChunk::store_data_length()
8181
{
82-
auto data_lenth = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
83-
__builtin_memcpy(m_data.offset_pointer(0), &data_lenth, sizeof(u32));
82+
auto data_length = BigEndian(m_data.size() - sizeof(data_length_type) - m_type.length());
83+
__builtin_memcpy(m_data.offset_pointer(0), &data_length, sizeof(u32));
8484
}
8585

8686
u32 PNGChunk::crc()

0 commit comments

Comments
 (0)