From 7abdb13eec4ec0eab6152cc8a69af131e09ea68a Mon Sep 17 00:00:00 2001 From: coldcoff Date: Tue, 8 Aug 2017 15:25:29 +0200 Subject: [PATCH] Comments cleanup (#111) --- lib/utils/strings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/strings.js b/lib/utils/strings.js index 1a0499c..982e608 100644 --- a/lib/utils/strings.js +++ b/lib/utils/strings.js @@ -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; }