From 56aa08d022cb8560294a8b62f08a248e34268af3 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 3 Nov 2011 01:05:08 +0100 Subject: [PATCH] cec: always reset the button press time in CLibCEC::AddKey() --- src/lib/LibCEC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index ed60f43..a287609 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -254,8 +254,8 @@ void CLibCEC::AddKey(void) key.keycode = m_iCurrentButton; m_keyBuffer.Push(key); m_iCurrentButton = CEC_USER_CONTROL_CODE_UNKNOWN; - m_buttontime = 0; } + m_buttontime = 0; } void CLibCEC::AddCommand(const cec_command &command) -- 2.34.1