diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-13 16:50:06 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-13 16:50:06 +0200 |
commit | 4383a651c733ac59cd00f193c5115567f6a72f5d (patch) | |
tree | 081c4c4f13da21379e4d96a70734e945e6305ca3 /util.c | |
parent | a09b20c5e63839b10bae306e4a23ca5a9d8ebac0 (diff) | |
download | nsxiv-4383a651c733ac59cd00f193c5115567f6a72f5d.tar.zst |
Strictly adhere to ANSI-C standard
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |