From 0569947da09328d033fbe234587fcd31ab624ad2 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Sun, 18 Nov 2012 21:44:26 +0100 Subject: [PATCH] msvcp60: Fixed basic_string::_Copy implementation. --- dlls/msvcp60/string.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/msvcp60/string.c b/dlls/msvcp60/string.c index 5b0b358d658..6fe2780b438 100644 --- a/dlls/msvcp60/string.c +++ b/dlls/msvcp60/string.c @@ -260,9 +260,8 @@ void __thiscall basic_string_char__Copy(basic_string_char *this, MSVCP_size_t co { TRACE("%p %lu\n", this, copy_len); - if(!basic_string_char__Grow(this, copy_len, FALSE)) + if(!basic_string_char__Grow(this, copy_len, TRUE)) return; - basic_string_char__Eos(this, copy_len); } /* ?_Pdif@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@CAIPBD0@Z */ @@ -1976,9 +1975,8 @@ void __thiscall basic_string_wchar__Copy(basic_string_wchar *this, MSVCP_size_t { TRACE("%p %lu\n", this, copy_len); - if(!basic_string_wchar__Grow(this, copy_len, FALSE)) + if(!basic_string_wchar__Grow(this, copy_len, TRUE)) return; - basic_string_wchar__Eos(this, copy_len); } /* ?_Pdif@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@CAIPBG0@Z */ -- 2.11.4.GIT