summaryrefslogtreecommitdiff
path: root/cursor
diff options
context:
space:
mode:
authorDima Ryazanov <dima@gmail.com>2012-07-26 01:39:48 -0700
committerKristian Høgsberg <krh@bitplanet.net>2012-07-26 22:04:32 -0400
commit31c0258ff145c4a6524d3dd369dbf4643a5dc4b7 (patch)
tree2add87925b565ab59a29b6a4a182e5b07b5e0e49 /cursor
parentf5ccd7a9e670e097ff9b5faae8a26b3af4bb7b60 (diff)
Don't skip the first directory entry when reading cursors.
I end up missing the "bottom_right_corner" cursor.
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 &&