Phil Bordelon's patch yesterday should have initialised the GError
[sgt/puzzles] / gtk.c
diff --git a/gtk.c b/gtk.c
index 075a49f..b662501 100644 (file)
--- a/gtk.c
+++ b/gtk.c
@@ -2097,7 +2097,7 @@ int main(int argc, char **argv)
 
        if (screenshot_file) {
            GdkPixbuf *pb;
-            GError* gerror;
+            GError *gerror = NULL;
 
            midend_redraw(fe->me);