This replicates the behaviour of the old xsetwacom, making
xsetwacom ... TopX the same as xsetwacom ... topx.

Reported-by: Ping Cheng <[email protected]>
Signed-off-by: Peter Hutterer <[email protected]>
---
 tools/xsetwacom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index f45523c..6d9a833 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -791,7 +791,7 @@ static param_t* find_parameter(char *name)
        param_t *param = NULL;
 
        for (param = parameters; param->name; param++)
-               if (strcmp(name, param->name) == 0)
+               if (strcasecmp(name, param->name) == 0)
                        break;
        return param->name ? param : NULL;
 }
-- 
1.6.5.2


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to