summaryrefslogtreecommitdiff
path: root/packages/detect-stylus/access.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/detect-stylus/access.patch')
-rw-r--r--packages/detect-stylus/access.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/detect-stylus/access.patch b/packages/detect-stylus/access.patch
index e69de29bb2..cd8c52074d 100644
--- a/packages/detect-stylus/access.patch
+++ b/packages/detect-stylus/access.patch
@@ -0,0 +1,17 @@
+Index: detect-stylus.c
+===================================================================
+RCS file: /cvs/gpe/base/detect-stylus/detect-stylus.c,v
+retrieving revision 1.12
+retrieving revision 1.13
+diff -u -r1.12 -r1.13
+--- detect-stylus.c 8 Sep 2004 15:57:15 -0000 1.12
++++ detect-stylus.c 9 Sep 2004 23:08:42 -0000 1.13
+@@ -131,7 +131,7 @@
+ XChangeProperty (dpy, root, atom, XA_INTEGER, 8, PropModeReplace, &b, 1);
+
+ XCloseDisplay (dpy);
+- if (!access("/usr/bin/xrdb", X_OK))
++ if (access("/usr/bin/xrdb", X_OK))
+ system ("echo \"Matchbox.cursor: no\nXcursor.theme: fully-transparent\" | /usr/X11R6/bin/xrdb -nocpp -merge");
+ else
+ system ("echo \"Matchbox.cursor: no\nXcursor.theme: fully-transparent\" | /usr/bin/xrdb -nocpp -merge");