7d45416
diff -up gv-3.7.4/src/zoom.c.bug1071238 gv-3.7.4/src/zoom.c
7d45416
--- gv-3.7.4/src/zoom.c.bug1071238	2012-03-29 10:03:50.000000000 -0600
7d45416
+++ gv-3.7.4/src/zoom.c	2014-02-28 09:17:20.522332906 -0700
7d45416
@@ -109,7 +109,7 @@ zoom_createZoom(Widget w _GL_UNUSED, XtP
7d45416
        return;
7d45416
     }
7d45416
 
7d45416
-    if (strcmp(gv_filename, "-")) {
7d45416
+    if (gv_filename != NULL && strcmp(gv_filename, "-")) {
7d45416
        stat(gv_filename, &sbuf);
7d45416
        if (mtime != sbuf.st_mtime) {
7d45416
 	  INFMESSAGE1(file has changed) ENDMESSAGE1(zoom_createZoom)return;