Merge commit 'origin/opendreambox-1.6' into vuplus-1.6
[vuplus_openembedded] / recipes / detect-stylus / access.patch
1 Index: detect-stylus.c
2 ===================================================================
3 RCS file: /cvs/gpe/base/detect-stylus/detect-stylus.c,v
4 retrieving revision 1.12
5 retrieving revision 1.13
6 diff -u -r1.12 -r1.13
7 --- detect-stylus.c     8 Sep 2004 15:57:15 -0000       1.12
8 +++ detect-stylus.c     9 Sep 2004 23:08:42 -0000       1.13
9 @@ -131,7 +131,7 @@
10        XChangeProperty (dpy, root, atom, XA_INTEGER, 8, PropModeReplace, &b, 1);
11  
12        XCloseDisplay (dpy);
13 -      if (!access("/usr/bin/xrdb", X_OK))
14 +      if (access("/usr/bin/xrdb", X_OK))
15          system ("echo \"Matchbox.cursor: no\nXcursor.theme: fully-transparent\" | /usr/X11R6/bin/xrdb -nocpp -merge");
16        else
17          system ("echo \"Matchbox.cursor: no\nXcursor.theme: fully-transparent\" | /usr/bin/xrdb -nocpp -merge");