fixed typo in stop+pause combo key
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 25 Oct 2012 10:12:25 +0000 (12:12 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 25 Oct 2012 10:12:25 +0000 (12:12 +0200)
src/lib/CECClient.cpp

index 3004d870a1d9daf603e1c591d4e5924086fd1e4e..004d741379b27e97eb287112c641838d7fe9b23e 100644 (file)
@@ -954,7 +954,7 @@ void CCECClient::AddKey(const cec_keypress &key)
       if (key.keycode == CEC_USER_CONTROL_CODE_SELECT)
         transmitKey.keycode = CEC_USER_CONTROL_CODE_EXIT;
       // stop + pause -> root menu
-      else if (key.keycode == CEC_USER_CONTROL_CODE_ROOT_MENU)
+      else if (key.keycode == CEC_USER_CONTROL_CODE_PAUSE)
         transmitKey.keycode = CEC_USER_CONTROL_CODE_ROOT_MENU;
       // stop + play -> dot (which is handled as context menu in xbmc)
       else if (key.keycode == CEC_USER_CONTROL_CODE_PLAY)