cec: set initiator and destination first in cec_command::push_back(). fixes 'tx'...
[deb_libcec.git] / src / lib / CECProcessor.cpp
index 93f11e6fbb344354a754abb776cc378dea545ad4..1b86820447a2e36d3522e54daf688b6a0dd5ad34 100644 (file)
@@ -439,7 +439,7 @@ bool CCECProcessor::ParseMessage(cec_adapter_message &msg)
       if (msg.size() >= 2)
       {
         logStr.AppendFormat(" initiator:%u destination:%u ack:%s %s", msg.initiator(), msg.destination(), msg.ack() ? "high" : "low", msg.eom() ? "eom" : "");
-        m_currentframe.initiator   =  msg.initiator();
+        m_currentframe.initiator   = msg.initiator();
         m_currentframe.destination = msg.destination();
         m_currentframe.ack         = msg.ack();
         m_currentframe.eom         = msg.eom();