]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gdk_imlib/save.c
Removed redundant makefiles and AIAI icons. Changed dynamic sample source name from
[wxWidgets.git] / src / gdk_imlib / save.c
index 7b16007b4db238150ee34cbc218ae366af09aed0..59d4e9c5bc7dd32911b4e82df884800079f347f7 100644 (file)
@@ -1,8 +1,8 @@
 #define _GNU_SOURCE
-#include <config.h>
+#include "../gdk_imlib/config.h"
 
-#include "gdk_imlib.h"
-#include "gdk_imlib_private.h"
+#include "../gdk_imlib/gdk_imlib.h"
+#include "../gdk_imlib/gdk_imlib_private.h"
 
 gint
 gdk_imlib_save_image(GdkImlibImage * im, char *file, GdkImlibSaveInfo * info)
@@ -83,7 +83,7 @@ gdk_imlib_save_image(GdkImlibImage * im, char *file, GdkImlibSaveInfo * info)
      {
        int                 bx, by, bxx, byy;
        int                 w, h;
-       int                 sx, sy;
+       int                 sx = 0, sy = 0;
        int                 tx = 35, ty = 35;
        int                 x, y;
        unsigned char      *ptr;