msvcp90: Fixed basic_stringbuf_wchar_overflow implementation.

This commit is contained in:
Piotr Caban 2012-09-06 11:40:56 +02:00 committed by Alexandre Julliard
parent c8f4ca315e
commit 0e6171f6d7
2 changed files with 2 additions and 2 deletions

View File

@ -4133,7 +4133,7 @@ unsigned short __thiscall basic_stringbuf_wchar_overflow(basic_stringbuf_wchar *
this->state |= STRINGBUF_allocated;
}else {
ptr = basic_streambuf_wchar_eback(&this->base);
memcpy(buf, ptr, oldsize);
memcpy(buf, ptr, oldsize*sizeof(wchar_t));
this->seekhigh = buf+(this->seekhigh-ptr);
basic_streambuf_wchar_setp_next(&this->base, buf,

View File

@ -4123,7 +4123,7 @@ unsigned short __thiscall basic_stringbuf_wchar_overflow(basic_stringbuf_wchar *
this->state |= STRINGBUF_allocated;
}else {
ptr = basic_streambuf_wchar_eback(&this->base);
memcpy(buf, ptr, oldsize);
memcpy(buf, ptr, oldsize*sizeof(wchar_t));
this->seekhigh = buf+(this->seekhigh-ptr);
basic_streambuf_wchar_setp_next(&this->base, buf,