This breaks

This commit is contained in:
Isaac Connor 2021-04-18 13:58:26 -04:00
parent df26c25ac9
commit 8d883ee7bf
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class Buffer {
if (mHead != mStorage) {
if (mSize == 0) {
mHead = mTail = mStorage;
*mHead = '\0';
//*mHead = '\0';
} else if (level) {
if (((uintptr_t)mHead-(uintptr_t)mStorage) > mSize) {
std::memcpy(mStorage, mHead, mSize);