From: Lars Op den Kamp Date: Thu, 15 Nov 2012 09:47:00 +0000 (+0100) Subject: fixed typo in CCECBusDevice::SetActiveRoute(). issue #89 X-Git-Tag: upstream/2.2.0~1^2~12^2~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8cb916b9d186797c96a70674f03e5814eb861f4d;p=deb_libcec.git fixed typo in CCECBusDevice::SetActiveRoute(). issue #89 --- diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 3217f71..b7b08c7 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -1133,7 +1133,7 @@ void CCECBusDevice::SetActiveRoute(uint16_t iRoute) CCECBusDevice* newRoute = m_processor->GetDeviceByPhysicalAddress(iRoute, true); if (newRoute && newRoute->IsHandledByLibCEC()) { - ActivateSource(); + newRoute->ActivateSource(); return; }