aboutsummaryrefslogtreecommitdiffstats
path: root/cursor
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-27 16:03:16 +0200
committerSimon Ser <contact@emersion.fr>2022-05-27 22:41:10 +0200
commit0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03 (patch)
tree7245f79f0bf62534e53ea7878f5c53813947a970 /cursor
parentcursor: remove xcursor_file_load_images wrapper (diff)
downloadwayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.tar
wayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.tar.gz
wayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.tar.bz2
wayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.tar.lz
wayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.tar.xz
wayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.tar.zst
wayland-0b8793ab0c5a6324490fc7cd2c51832c3fcc7c03.zip
cursor: remove unnecessary parentheses in load_all_cursors_from_dir
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'cursor')
-rw-r--r--cursor/xcursor.c3
1 files changed, 2 insertions, 1 deletions
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