summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2011-09-26 21:53:52 +0200
committerBert Münnich <ber.t@gmx.com>2011-09-26 21:53:52 +0200
commitd721d8453e6c0ff7112e8228eb58aa438d1f7f1a (patch)
tree449e393e7bb614b150f4c72b3998ae5ced95e201 /options.c
parentd08408e94250425e677e1ab33d917e05e229faa2 (diff)
downloadnsxiv-d721d8453e6c0ff7112e8228eb58aa438d1f7f1a.tar.zst
Added STREQ macro
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
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], "-");
}