From: Lars Op den Kamp Date: Mon, 31 Oct 2011 23:04:28 +0000 (+0100) Subject: cec: fixed typo which led to a wrong return value in GetDeviceMenuLanguage() X-Git-Tag: upstream/2.2.0~1^2~148 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5744fbbac9fbf40e485643a7a4851f926054758b;p=deb_libcec.git cec: fixed typo which led to a wrong return value in GetDeviceMenuLanguage() --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 5568d95..0ae2250 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -216,7 +216,7 @@ bool CCECProcessor::GetDeviceMenuLanguage(cec_logical_address iAddress, cec_menu if (m_busDevices[iAddress]) { *language = m_busDevices[iAddress]->GetMenuLanguage(); - return (strcmp(language->language, "???") == 0); + return (strcmp(language->language, "???") != 0); } return false; }