Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
stream_wrap.cc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed May 9, 2012
1 parent 27ddd14 commit 4624cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_wrap.cc
Expand Up @@ -337,7 +337,7 @@ Handle<Value> StreamWrap::WriteStringImpl(const Arguments& args) {
break;

case kUcs2:
storage_size += string->Length() * sizeof(uint16_t);
storage_size = string->Length() * sizeof(uint16_t);
break;

default:
Expand Down

0 comments on commit 4624cf1

Please sign in to comment.