mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-20 20:03:50 +01:00
Comments cleanup (#111)
This commit is contained in:
parent
e15b85bd02
commit
7abdb13eec
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ exports.utf8border = function (buf, max) {
|
||||||
pos = max - 1;
|
pos = max - 1;
|
||||||
while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
|
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.
|
// return max, because we should return something anyway.
|
||||||
if (pos < 0) { return max; }
|
if (pos < 0) { return max; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue