Comments cleanup (#111)

This commit is contained in:
coldcoff 2017-08-08 15:25:29 +02:00 committed by Vitaly Puzrin
parent e15b85bd02
commit 7abdb13eec

View file

@ -173,7 +173,7 @@ exports.utf8border = function (buf, max) {
pos = max - 1;
while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
// Fuckup - very small and broken sequence,
// Very small and broken sequence,
// return max, because we should return something anyway.
if (pos < 0) { return max; }