From 31c0258ff145c4a6524d3dd369dbf4643a5dc4b7 Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Thu, 26 Jul 2012 01:39:48 -0700 Subject: [PATCH] Don't skip the first directory entry when reading cursors. I end up missing the "bottom_right_corner" cursor. --- cursor/xcursor.c | 1 - 1 file changed, 1 deletion(-) 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 && -- 2.7.4