Fix bugs. Sketch3D stable.
This commit is contained in:
parent
cd8feaf2c0
commit
e065dc736b
9 changed files with 45 additions and 32 deletions
|
|
@ -62,6 +62,8 @@ namespace tp {
|
|||
DEBUG_ASSERT(mReferenceCount == 1 && !mIsConst)
|
||||
delete[] mBuff;
|
||||
mBuff = new tChar[size + 1];
|
||||
// set non-zero value so that size() function wont return size that may be less that actual
|
||||
memSetVal(mBuff, size, 1);
|
||||
mBuff[size] = Logic::getEndChar();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue