fix typo in cabff9007 which led to an unintialized memory read and a crash.

This commit is contained in:
Matthieu Herrb 2009-05-24 10:32:38 +02:00
parent 99e22b86c5
commit c70511931c

View File

@ -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++;