blob: 87a8eeda0a5789944e5da727b6192a612c2c6afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/node_buffer.cc 2011-10-25 08:45:00.665600749 +0200
+++ src/node_buffer.cc 2011-10-25 08:45:31.168622565 +0200
@@ -478,7 +478,7 @@
if (written > 0 && p[written-1] == '\0' && char_written == length) {
uint16_t last_char;
- s->Write(&last_char, length - 1, 1, String::NO_HINTS);
+ s->Write(&last_char, length - 1, 1, String::NO_OPTIONS);
if (last_char != 0 || written > s->Utf8Length()) {
written--;
}
|