msvcp90: Fixed basic_stringbuf_wchar_overflow implementation.
This commit is contained in:
parent
c8f4ca315e
commit
0e6171f6d7
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue