1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/stamp/files/patch-ab
1999-12-24 20:16:35 +00:00

14 lines
409 B
Plaintext

--- 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) ;
}