msvcp90: Copy facetvec element pointer in copy ctor.

This commit is contained in:
Daniel Lehman 2012-10-03 16:49:37 -07:00 committed by Alexandre Julliard
parent 650ccf598e
commit 4f5f2e8e1b
1 changed files with 3 additions and 0 deletions

View File

@ -7798,9 +7798,12 @@ locale__Locimp* __thiscall locale__Locimp_copy_ctor(locale__Locimp *this, const
return NULL;
}
for(i=0; i<this->facet_cnt; i++)
{
this->facetvec[i] = copy->facetvec[i];
if(this->facetvec[i])
locale_facet__Incref(this->facetvec[i]);
}
}
MSVCP_basic_string_char_copy_ctor(&this->name, &copy->name);
_Lockit_dtor(&lock);
return this;