diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/synclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index e7be499..9776d23 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -149,7 +149,7 @@ static struct Parameter params[] = { static double parse_cmd(char* cmd, struct Parameter** par) { - char *eqp = index(cmd, '='); + char *eqp = strchr(cmd, '='); *par = NULL; if (eqp) { |