X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..100af5a812b607d7929473af744a554b3d5ab065:/src/gdk_imlib/save.c diff --git a/src/gdk_imlib/save.c b/src/gdk_imlib/save.c index 7b16007b4d..59d4e9c5bc 100644 --- a/src/gdk_imlib/save.c +++ b/src/gdk_imlib/save.c @@ -1,8 +1,8 @@ #define _GNU_SOURCE -#include +#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;