X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftestclient%2Fmain.cpp;h=bb6e133b8417c22eefa331f62a92d1e5ccb42a1b;hb=98961e122cd2ed92a939ab9b20d9a4ffac01d675;hp=945935afc86d9946feb9ff36f1ebc039fc3efbf3;hpb=0b83551352338fb45b285c44d6baccd867f05b6d;p=deb_libcec.git diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 945935a..bb6e133 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -381,6 +381,10 @@ bool ProcessCommandTX(ICECAdapter *parser, const string &command, string &argume cec_command bytes; bytes.Clear(); + CStdString strArguments(arguments); + strArguments.Replace(':', ' '); + arguments = strArguments; + while (GetWord(arguments, strvalue) && HexStrToInt(strvalue, ivalue)) bytes.PushBack(ivalue);