fixed devices showed as stopped when they were running
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9513 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1426,7 +1426,7 @@ InputServer::StartStopDevices(const char *name, input_device_type type, bool doS
|
||||
if (!item)
|
||||
continue;
|
||||
|
||||
if ((name && strcmp(name, item->mDev.name) == 0) || item->mDev.type == type) {
|
||||
if ((name && strcmp(name, item->mDev.name) == 0) || (!name && item->mDev.type == type)) {
|
||||
if (!item->mIsd)
|
||||
return B_ERROR;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user