Skip to content

Commit

Permalink
Merge pull request pkrumins#16 from AaronAsAChimp/typo-fix
Browse files Browse the repository at this point in the history
Assuming this is a typo
  • Loading branch information
pkrumins committed Apr 16, 2012
2 parents b141ccf + 94c438d commit 21031e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/png_encoder.cpp
Expand Up @@ -42,7 +42,7 @@ PngEncoder::encode()
throw "png_create_write_struct failed.";

png_infop info_ptr = png_create_info_struct(png_ptr);
if (!png_ptr)
if (!info_ptr)
throw "png_create_info_struct failed.";

int color_type;
Expand Down

0 comments on commit 21031e8

Please sign in to comment.