From d721d8453e6c0ff7112e8228eb58aa438d1f7f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Mon, 26 Sep 2011 21:53:52 +0200 Subject: Added STREQ macro --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index 201b7cd..892c31f 100644 --- a/options.c +++ b/options.c @@ -140,5 +140,5 @@ void parse_options(int argc, char **argv) { _options.filenames = argv + optind; _options.filecnt = argc - optind; _options.from_stdin = _options.filecnt == 1 && - !strcmp(_options.filenames[0], "-"); + STREQ(_options.filenames[0], "-"); } -- cgit v1.2.3