summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imagewriter.cpp')
-rw-r--r--src/resources/imagewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp
index f4be3a66..7cfa16b4 100644
--- a/src/resources/imagewriter.cpp
+++ b/src/resources/imagewriter.cpp
@@ -55,7 +55,7 @@ bool ImageWriter::writePNG(SDL_Surface *surface,
logger->log("Had trouble creating png_structp");
return false;
}
-
+
info_ptr = png_create_info_struct(png_ptr);
if (!info_ptr)
{