diff options
-rw-r--r-- | xbmc/peripherals/devices/PeripheralCecAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp index dde23a6cbc..d54e1a3027 100644 --- a/xbmc/peripherals/devices/PeripheralCecAdapter.cpp +++ b/xbmc/peripherals/devices/PeripheralCecAdapter.cpp @@ -1332,7 +1332,7 @@ void CPeripheralCecAdapter::SetConfigurationFromSettings(void) // set the tv vendor override int iVendor = GetSettingInt("tv_vendor"); - if (iVendor >= CEC_MAX_VENDORID && + if (iVendor >= CEC_MIN_VENDORID && iVendor <= CEC_MAX_VENDORID) m_configuration.tvVendor = iVendor; |