diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-19 12:57:00 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-19 12:57:00 +1000 |
commit | 7bf5e0d8c1863079330196dbe0efb230d74eeb70 (patch) | |
tree | 1ebecff99d4ec02130ef5104bc36437e678999e5 | |
parent | 7b063972e8ebbb244c8d92d8df194c5df9f015bc (diff) |
Use xf86SetStrOption for Type and Device → prints to the log
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86MuTouch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c index 3b9b6b8..b35d1da 100644 --- a/src/xf86MuTouch.c +++ b/src/xf86MuTouch.c @@ -1074,7 +1074,7 @@ xf86MuTInit(InputDriverPtr drv, int portrait=0; int rc = Success; - str = xf86FindOptionValue(pInfo->options, "Type"); + str = xf86SetStrOption(pInfo->options, "Type", NULL); if (str && (xf86NameCmp(str, "finger") == 0)) { rc = xf86MuTAllocateFinger(drv, pInfo); } @@ -1091,7 +1091,7 @@ xf86MuTInit(InputDriverPtr drv, } priv = pInfo->private; - str = xf86FindOptionValue(pInfo->options, "Device"); + str = xf86SetStrOption(pInfo->options, "Device", NULL); if (!str) { xf86Msg(X_ERROR, "%s: No Device specified in MuTouch module config.\n", pInfo->name); |