---
 tools/xsetwacom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index 508326e..4dd7f4a 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -796,7 +796,7 @@ static void list_one_device(Display *dpy, XDeviceInfo *info)
                        if (atoms[j] == wacom_prop)
                                break;
 
-               if (j <= natoms)
+               if (j < natoms)
                {
                        unsigned char   *data;
                        Atom            type;
-- 
1.9.2


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to