Fixing xf86I2CGetScreenBuses(), now dereferencing the correct pointer.

This commit is contained in:
Egbert Eich 2007-09-04 16:42:57 +02:00 committed by Egbert Eich
parent 7c5de093d4
commit 735da3dcd0

View File

@ -883,7 +883,7 @@ xf86I2CGetScreenBuses(int scrnIndex, I2CBusPtr **pppI2CBus)
continue;
*pppI2CBus = xnfrealloc(*pppI2CBus, n * sizeof(I2CBusPtr));
pppI2CBus[n - 1] = pI2CBus;
(*pppI2CBus)[n - 1] = pI2CBus;
}
return n;