summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-10-12 16:49:09 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:17 +0200
commitad34245639263fc815f0a99871b15a1762272858 (patch)
tree1f260395bb2f344faa0c0ff6a36a79c63adba19d
parent215c8256a5ddfc48c7b8bf850eff3c5951b9d673 (diff)
Use case insensitive matching when setting parameters.
-rw-r--r--synclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/synclient.c b/synclient.c
index 6197ea6..7f6da18 100644
--- a/synclient.c
+++ b/synclient.c
@@ -98,7 +98,7 @@ static void set_variables(SynapticsSHM* synshm, int argc, char* argv[], int firs
int found = 0;
*eqp = 0;
for (j = 0; params[j].name; j++) {
- if (strcmp(cmd, params[j].name) == 0) {
+ if (strcasecmp(cmd, params[j].name) == 0) {
found = 1;
break;
}