fix always appending to front on add char

This commit is contained in:
brianc 2010-10-10 18:10:26 -05:00
parent b4d1c67eb5
commit f0a272a78b

View File

@ -31,7 +31,7 @@ BufferList.prototype.addCString = function(val) {
};
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) {