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:
Michael Lotz
2009-07-29 20:36:54 +00:00
parent e3cfb87e77
commit 3b1e4fd549
@@ -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);