fix always appending to front on add char
This commit is contained in:
parent
b4d1c67eb5
commit
f0a272a78b
@ -31,7 +31,7 @@ BufferList.prototype.addCString = function(val) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
BufferList.prototype.addChar = function(char, first) {
|
BufferList.prototype.addChar = function(char, first) {
|
||||||
return this.add(Buffer(char,'utf8'), true);
|
return this.add(Buffer(char,'utf8'), first);
|
||||||
};
|
};
|
||||||
|
|
||||||
BufferList.prototype.join = function(appendLength, char) {
|
BufferList.prototype.join = function(appendLength, char) {
|
||||||
|
Loading…
Reference in New Issue
Block a user