cec: fixed typo which led to a wrong return value in GetDeviceMenuLanguage()
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 31 Oct 2011 23:04:28 +0000 (00:04 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 31 Oct 2011 23:04:28 +0000 (00:04 +0100)
src/lib/CECProcessor.cpp

index 5568d9506a999807407cfc3095187c91f54d9d24..0ae22507ea8bbbc9f51e84b467bccbd7b5e023f7 100644 (file)
@@ -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;
 }