From: Lars Op den Kamp Date: Thu, 3 Nov 2011 00:05:08 +0000 (+0100) Subject: cec: always reset the button press time in CLibCEC::AddKey() X-Git-Tag: upstream/2.2.0~1^2~130 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=56aa08d022cb8560294a8b62f08a248e34268af3;p=deb_libcec.git cec: always reset the button press time in CLibCEC::AddKey() --- 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)