msvcp90: In codecvt<wchar_t>::do_out, copy local buffer to *to_next.

This commit is contained in:
Daniel Lehman 2012-09-27 14:54:02 -07:00 committed by Alexandre Julliard
parent c65bd5cad2
commit 8ed96ab041
1 changed files with 1 additions and 0 deletions

View File

@ -3273,6 +3273,7 @@ int __thiscall codecvt_wchar_do_out(const codecvt_wchar *this, int *state,
}
(*from_next)++;
memcpy_s(*to_next, to_end-*to_next, buf, size);
(*to_next) += size;
}
}