projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ccd7a
)
Don't skip the first directory entry when reading cursors.
author
Dima Ryazanov
<dima@gmail.com>
Thu, 26 Jul 2012 08:39:48 +0000
(
01:39
-0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 27 Jul 2012 02:04:32 +0000
(22:04 -0400)
I end up missing the "bottom_right_corner" cursor.
cursor/xcursor.c
patch
|
blob
|
history
diff --git
a/cursor/xcursor.c
b/cursor/xcursor.c
index
0fe0440
..
f08225c
100644
(file)
--- 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 &&