tiny syntax fix

This commit is contained in:
Pieterjan De Potter 2012-11-28 16:25:52 +01:00
parent 0bdf465808
commit db9d2bed67

View file

@ -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;