1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

Fix Comic reader

This commit is contained in:
OzzieIsaacs 2017-09-24 19:38:15 +02:00
parent 442fb23b18
commit 031a175474

View File

@ -452,7 +452,7 @@ bitjs.io = bitjs.io || {};
var HALF = Math.pow(2, (numBytes * 8) - 1);
if (num >= HALF || num < -HALF) {
throw "Trying to write " + num + "" into only " + numBytes + " bytes";
throw "Trying to write " + num + " into only " + numBytes + " bytes";
}
// Roll 8-bits at a time into an array of bytes.