]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gdk_imlib/misc.c
wxIniConfig added (pre-alpha quality, many functions not implemented), some
[wxWidgets.git] / src / gdk_imlib / misc.c
index e5fe0250371011e7918c814845c6ea249b285338..d18964373cdc44f7e5d5db3bc586364aa720e21f 100644 (file)
@@ -1,6 +1,6 @@
 #define _GNU_SOURCE
-#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_get_render_type()
@@ -524,7 +524,7 @@ gdk_imlib_init_params(GdkImlibInitParams * p)
    XWindowAttributes   xwa;
    XVisualInfo         xvi, *xvir;
    char               *homedir;
-   char                file[4096];
+/*   char                file[4096]; */
    char                s[4096], *s1, *s2;
    FILE               *f;
    int                 override = 0;
@@ -533,7 +533,7 @@ gdk_imlib_init_params(GdkImlibInitParams * p)
    int                 num;
    int                 i, max, maxn;
    int                 clas;
-   char               *palfile;
+   char               *palfile = NULL;
    int                 loadpal;
    int                 vis;
    int                 newcm;