diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-08-01 07:23:54 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-01 11:56:01 +0200 |
commit | e4538ce8efc1e57069a8f743c38623bd5166aeee (patch) | |
tree | add122eb8e989067e7120091c65b6f4dcd375f12 /Userland/Libraries | |
parent | e511390423c07fbf74b35d8caad9d833dfed650d (diff) | |
download | serenity-e4538ce8efc1e57069a8f743c38623bd5166aeee.zip |
LibGfx: Fix a spelling mistake in a variable name
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibGfx/PNGWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/PNGWriter.cpp b/Userland/Libraries/LibGfx/PNGWriter.cpp index f1e04e13ca..4b50f98c80 100644 --- a/Userland/Libraries/LibGfx/PNGWriter.cpp +++ b/Userland/Libraries/LibGfx/PNGWriter.cpp @@ -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() |