Return 'TellStick not found' when no controller is connected instead of 'No device found'

This commit is contained in:
Micke Prag 2012-02-23 15:21:18 +01:00
parent 20840d5d8b
commit 6d47870856

View file

@ -465,7 +465,7 @@ int Client::getController(int *controllerId, int *controllerType, char *name, in
if (d->controllerCache == L"") {
d->controllerCached = false;
return TELLSTICK_ERROR_DEVICE_NOT_FOUND;
return TELLSTICK_ERROR_NOT_FOUND;
}
int id = Message::takeInt(&d->controllerCache);