Fix pointer access. Thanks to Blub for spotting, I would've certainly spent a
lot of time finding this one! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -89,7 +89,7 @@ ProtocolHandler::AddHandlers(HIDDevice *device, ProtocolHandler ***handlerList,
|
||||
|
||||
for (uint32 i = 0; i < count; i++) {
|
||||
if (handlers[i] != NULL)
|
||||
*handlerList[(*handlerCount)++] = handlers[i];
|
||||
(*handlerList)[(*handlerCount)++] = handlers[i];
|
||||
}
|
||||
|
||||
TRACE("added %ld handlers for hid device\n", *handlerCount);
|
||||
|
||||
Reference in New Issue
Block a user