mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Kernel: Fix KBufferBuilder::append()
insertion_ptr() already includes the offset.
This commit is contained in:
parent
c15f9e7593
commit
63f458ffc1
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ void KBufferBuilder::append(const char* characters, int length)
|
|||
return;
|
||||
if (!can_append(length))
|
||||
return;
|
||||
memcpy(insertion_ptr() + m_size, characters, length);
|
||||
memcpy(insertion_ptr(), characters, length);
|
||||
m_size += length;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue