summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 872930c..151d2a4 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -238,9 +238,9 @@ SetDeviceAndProtocol(InputInfoPtr pInfo)
SynapticsPrivate *priv = pInfo->private;
enum SynapticsProtocol proto = SYN_PROTO_PSAUX;
- device = xf86FindOptionValue(pInfo->options, "Device");
+ device = xf86SetStrOption(pInfo->options, "Device", NULL);
if (!device) {
- device = xf86FindOptionValue(pInfo->options, "Path");
+ device = xf86SetStrOption(pInfo->options, "Path", NULL);
if (device) {
pInfo->options =
xf86ReplaceStrOption(pInfo->options, "Device", device);