aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins4kodi <jenkins4kodi@users.noreply.github.com>2015-02-28 18:35:54 +0100
committerjenkins4kodi <jenkins4kodi@users.noreply.github.com>2015-02-28 18:35:54 +0100
commit08b1595a3a16e2d19bc36062b7482f36d01c9193 (patch)
treeab3623446a02b60465b700c7831013c0f505effa
parent945a5d8aff5ceba6eee8732ebfb476ab522a3047 (diff)
parentc74dc0d0385f0524ac6ea629f086e91d4429c20f (diff)
Merge pull request #6569 from gokl/min_max_cec_vendor
-rw-r--r--xbmc/peripherals/devices/PeripheralCecAdapter.cpp2
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;