Permalink
Browse files

Assuming this is a typo

  • Loading branch information...
1 parent b141ccf commit 94c438df8c520a3e71abf9128d153cb88ce68649 Aaron Spaulding committed Apr 14, 2012
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 94c438d

Please sign in to comment.