mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Don't skip the first directory entry when reading cursors.
I end up missing the "bottom_right_corner" cursor.
This commit is contained in:
parent
f5ccd7a9e6
commit
31c0258ff1
1 changed files with 0 additions and 1 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue