From 4624cf12141d23621db864d5825a22ddd25db8fd Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 9 May 2012 04:34:41 +0200 Subject: [PATCH] stream_wrap.cc: fix typo --- src/stream_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index 7a5e84b567..4eea7c9239 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -337,7 +337,7 @@ Handle StreamWrap::WriteStringImpl(const Arguments& args) { break; case kUcs2: - storage_size += string->Length() * sizeof(uint16_t); + storage_size = string->Length() * sizeof(uint16_t); break; default: