mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 16:50:13 +01:00
fix typo in cabff9007 which led to an unintialized memory read and a crash.
This commit is contained in:
parent
99e22b86c5
commit
c70511931c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue