summaryrefslogtreecommitdiff
path: root/cursor
diff options
context:
space:
mode:
Diffstat (limited to 'cursor')
-rw-r--r--cursor/xcursor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cursor/xcursor.c b/cursor/xcursor.c
index 0fe0440..f08225c 100644
--- a/cursor/xcursor.c
+++ b/cursor/xcursor.c
@@ -870,7 +870,6 @@ load_all_cursors_from_dir(const char *path, int size,
if (!dir)
return;
- ent = readdir(dir);
for(ent = readdir(dir); ent; ent = readdir(dir)) {
#ifdef _DIRENT_HAVE_D_TYPE
if (ent->d_type != DT_UNKNOWN &&