diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-18 16:02:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-02 12:35:34 +1000 |
commit | ad82c03c9ca876d2c2518b2fc2c1a652ea74ce8b (patch) | |
tree | c17afc21a1a608eb38afbc31ee36664c40938b33 /src/wcmConfig.c | |
parent | 5e2f39a390bbbebe59d49ec35a79641dba7de7fe (diff) | |
download | xf86-input-wacom-ad82c03c9ca876d2c2518b2fc2c1a652ea74ce8b.tar.gz |
Use xf86SetStrOption to get type
This call prints the value (if set) to the log, making it easier to debug if
something has gone wrong.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
Diffstat (limited to 'src/wcmConfig.c')
-rw-r--r-- | src/wcmConfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmConfig.c b/src/wcmConfig.c index 6721b14..cccf220 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -483,7 +483,7 @@ static int wcmPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags) gWacomModule.wcmDrv = drv; device = xf86SetStrOption(pInfo->options, "Device", NULL); - type = xf86FindOptionValue(pInfo->options, "Type"); + type = xf86SetStrOption(pInfo->options, "Type", NULL); /* Init process: |