summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2011-10-13 16:50:06 +0200
committerBert Münnich <ber.t@gmx.com>2011-10-13 16:50:06 +0200
commit4383a651c733ac59cd00f193c5115567f6a72f5d (patch)
tree081c4c4f13da21379e4d96a70734e945e6305ca3 /util.c
parenta09b20c5e63839b10bae306e4a23ca5a9d8ebac0 (diff)
downloadnsxiv-4383a651c733ac59cd00f193c5115567f6a72f5d.tar.zst
Strictly adhere to ANSI-C standard
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index ccbce1f..40cc31f 100644
--- a/util.c
+++ b/util.c
@@ -272,7 +272,7 @@ char* r_readdir(r_dir_t *rdir) {
while (true) {
if (rdir->dir != NULL && (dentry = readdir(rdir->dir)) != NULL) {
- if (streq(dentry->d_name, ".") || streq(dentry->d_name, ".."))
+ if (STREQ(dentry->d_name, ".") || STREQ(dentry->d_name, ".."))
continue;
len = strlen(rdir->name) + strlen(dentry->d_name) + 2;