From 3d6f51d524e90568aec92e109caf4225dc256b1c Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sat, 8 Oct 2011 11:52:27 +0200 Subject: [PATCH 1/1] cec: show the opcode as hex instead of decimal in the log when storing a command in the buffer --- 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 2f76815..9498bc9 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -217,7 +217,7 @@ void CLibCEC::AddCommand(cec_logical_address source, cec_logical_address destina if (m_commandBuffer.Push(command)) { CStdString strDebug; - strDebug.Format("stored command '%d' in the command buffer. buffer size = %d", opcode, m_commandBuffer.Size()); + strDebug.Format("stored command '%2x' in the command buffer. buffer size = %d", opcode, m_commandBuffer.Size()); AddLog(CEC_LOG_DEBUG, strDebug); } else -- 2.34.1