The string setter didn't reset the flags.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30342 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f57c87ac31
commit
b623e81cf7
@ -270,6 +270,7 @@ void
|
||||
Variant::_SetTo(const char* value, uint32 flags)
|
||||
{
|
||||
fType = B_STRING_TYPE;
|
||||
fFlags = 0;
|
||||
|
||||
if (value != NULL) {
|
||||
if ((flags & VARIANT_DONT_COPY_DATA) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user