fix typo in cabff9007
which led to an unintialized memory read and a crash.
This commit is contained in:
parent
99e22b86c5
commit
c70511931c
|
@ -1226,7 +1226,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout)
|
|||
const char **driver = mousedrivers;
|
||||
confInput = xf86findInput(CONF_IMPLICIT_POINTER,
|
||||
xf86configptr->conf_input_lst);
|
||||
while (driver && !confInput) {
|
||||
while (*driver && !confInput) {
|
||||
confInput = xf86findInputByDriver(*driver,
|
||||
xf86configptr->conf_input_lst);
|
||||
driver++;
|
||||
|
|
Loading…
Reference in New Issue
Block a user