cursor: remove unnecessary parentheses in load_all_cursors_from_dir

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-05-27 16:03:16 +02:00
parent c2a150f7c2
commit 0b8793ab0c

View File

@ -763,7 +763,8 @@ load_all_cursors_from_dir(const char *path, int size,
for (ent = readdir(dir); ent; ent = readdir(dir)) {
#ifdef _DIRENT_HAVE_D_TYPE
if (ent->d_type != DT_UNKNOWN &&
(ent->d_type != DT_REG && ent->d_type != DT_LNK))
ent->d_type != DT_REG &&
ent->d_type != DT_LNK)
continue;
#endif