projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a150f
)
cursor: remove unnecessary parentheses in load_all_cursors_from_dir
author
Simon Ser
<contact@emersion.fr>
Fri, 27 May 2022 14:03:16 +0000
(16:03 +0200)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/cursor/xcursor.c
b/cursor/xcursor.c
index
fe7fff7
..
1974802
100644
(file)
--- 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