Skip to content

Commit f0a272a

Browse files
committed
fix always appending to front on add char
1 parent b4d1c67 commit f0a272a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/buffer-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BufferList.prototype.addCString = function(val) {
3131
};
3232

3333
BufferList.prototype.addChar = function(char, first) {
34-
return this.add(Buffer(char,'utf8'), true);
34+
return this.add(Buffer(char,'utf8'), first);
3535
};
3636

3737
BufferList.prototype.join = function(appendLength, char) {

0 commit comments

Comments
 (0)