msvcp90: Change basic_ios<wchar_t>::imbue to match char version.

This commit is contained in:
Daniel Lehman 2012-10-01 23:06:02 -07:00 committed by Alexandre Julliard
parent f036f46217
commit d67923575a
1 changed files with 5 additions and 4 deletions

View File

@ -5275,11 +5275,12 @@ locale *__thiscall basic_ios_wchar_imbue(basic_ios_wchar *this, locale *ret, con
{
TRACE("(%p %p %p)\n", this, ret, loc);
if(this->strbuf)
return basic_streambuf_wchar_pubimbue(this->strbuf, ret, loc);
if(this->strbuf) {
basic_streambuf_wchar_pubimbue(this->strbuf, ret, loc);
locale_dtor(ret);
}
locale_copy_ctor(ret, loc);
return ret;
return ios_base_imbue(&this->base, ret, loc);
}
/* ?narrow@?$basic_ios@_WU?$char_traits@_W@std@@@std@@QBED_WD@Z */