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:
Ingo Weinhold 2009-04-22 23:22:16 +00:00
parent f57c87ac31
commit b623e81cf7

View File

@ -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) {