summaryrefslogtreecommitdiff
blob: 8991e4df255aaa5675f5ce12c86d35ca9e2bc3c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- xsnap-1.3/xsnap.c.orig	2004-04-23 00:00:48.323212832 +0200
+++ xsnap-1.3/xsnap.c	2004-04-23 00:01:15.564071592 +0200
@@ -17,6 +17,7 @@
  */
 
 #include <stdio.h> 
+#include <stdlib.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <X11/Xlib.h>
@@ -693,7 +694,7 @@
 int i, notfound;
 struct stat buf;
 
-    if (*filename = '?')
+    if (*filename == '?')
       {
       i=0;
       notfound=0;