Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #539 from smremde/master

fixed bug in StreamPNGSync
commit c81229609af85e35a33d5a4af6a963455d29cacf 2 parents 1c1d93e + a2f9386
@kangax kangax authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Canvas.cc
View
2  src/Canvas.cc
@@ -401,7 +401,7 @@ NAN_METHOD(Canvas::StreamPNGSync) {
if (!args[2]->StrictEquals(NanUndefined())) {
if (args[2]->IsUint32()) {
- filter = args[1]->Uint32Value();
+ filter = args[2]->Uint32Value();
} else {
return NanThrowTypeError("Invalid filter value.");
}
Please sign in to comment.
Something went wrong with that request. Please try again.