| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent eedc131 commit cae2051
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -257,7 +257,7 @@ function _copyActual(source, target, targetStart, sourceStart, sourceEnd) { | |||
| 257 | 257 | if (nb > sourceLen) | |
| 258 | 258 | nb = sourceLen; | |
| 259 | 259 | ||
| 260 | - if (sourceStart !== 0 || sourceEnd !== source.length) | ||
| 260 | + if (sourceStart !== 0 || sourceEnd < source.length) | ||
| 261 | 261 | source = new Uint8Array(source.buffer, source.byteOffset + sourceStart, nb); | |
| 262 | 262 | ||
| 263 | 263 | target.set(source, targetStart); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments