From 0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 27 May 2022 16:03:16 +0200 Subject: [PATCH] cursor: remove unnecessary parentheses in load_all_cursors_from_dir Signed-off-by: Simon Ser --- cursor/xcursor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cursor/xcursor.c b/cursor/xcursor.c index fe7fff7..1974802 100644 --- a/cursor/xcursor.c +++ b/cursor/xcursor.c @@ -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