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 <[email protected]>
---
 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:
-- 
1.7.6


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to