mirror of
https://github.com/danbulant/pngjs
synced 2026-05-27 13:51:50 +00:00
tiny syntax fix
This commit is contained in:
parent
0bdf465808
commit
db9d2bed67
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ var pixelBppMap = {
|
|||
0: 0,
|
||||
1: 0,
|
||||
2: 0,
|
||||
3: 0xff,
|
||||
3: 0xff
|
||||
},
|
||||
2: { // LA
|
||||
0: 0,
|
||||
|
|
@ -98,7 +98,7 @@ Filter.prototype._reverseFilterLine = function(rawData) {
|
|||
pxRowPos = this._line * pxLineLength,
|
||||
filter = rawData[0];
|
||||
|
||||
if (filter == 0) {
|
||||
if (filter === 0) {
|
||||
for (var x = 0; x < this._width; x++) {
|
||||
var pxPos = pxRowPos + (x << 2),
|
||||
rawPos = 1 + x * this._Bpp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue