Permalink
Browse files

Merge pull request #16 from AaronAsAChimp/typo-fix

Assuming this is a typo
  • Loading branch information...
pkrumins committed Apr 16, 2012
2 parents b141ccf + 94c438d commit 21031e8796850d6fef828328d4a1746036f2b253
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/png_encoder.cpp
View
@@ -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;

0 comments on commit 21031e8

Please sign in to comment.