summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/imagewriter.cpp2
-rw-r--r--src/resources/itemmanager.cpp3
2 files changed, 3 insertions, 2 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)
{
diff --git a/src/resources/itemmanager.cpp b/src/resources/itemmanager.cpp
index d18152da..56ac6354 100644
--- a/src/resources/itemmanager.cpp
+++ b/src/resources/itemmanager.cpp
@@ -21,10 +21,11 @@
* $Id$
*/
+#include "itemmanager.h"
+
#include <libxml/tree.h>
#include "iteminfo.h"
-#include "itemmanager.h"
#include "resourcemanager.h"
#include "../log.h"