cursor: remove unnecessary parentheses in load_all_cursors_from_dir
authorSimon Ser <contact@emersion.fr>
Fri, 27 May 2022 14:03:16 +0000 (16:03 +0200)
committerSimon Ser <contact@emersion.fr>
Fri, 27 May 2022 20:41:10 +0000 (22:41 +0200)
Signed-off-by: Simon Ser <contact@emersion.fr>
cursor/xcursor.c

index fe7fff7..1974802 100644 (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