aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/stamp/files/patch-ab
blob: aec536730309d62dfe7cf537928bd01f603fbec0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/rcfile.c.orig   Fri Dec 24 15:02:25 1999
+++ lib/rcfile.c    Fri Dec 24 15:06:09 1999
@@ -101,8 +101,8 @@
     exit(ERR_NOLFONT) ;
   }
 
-  if ((!(strcmp(Args->Infile,""))) ||
-      (!(strcmp(Args->Outfile,"")))) {
+  if ((Args->Infile == NULL) ||
+      (Args->Outfile == NULL)) {
     fprintf(stderr, "stamp: You must specify both an input and output JPEG image.\n") ;
     exit(ERR_MISSIOFILE) ;
   }