2018-07-31 Fred Gleason <fredg@paravelsystems.com>

* Refactored 'RDMacro' to handle UTF-8 strings correctly.
This commit is contained in:
Fred Gleason
2018-07-31 12:54:08 -04:00
parent dbb0d9c415
commit 26c29e1d4e
47 changed files with 676 additions and 686 deletions

View File

@@ -1063,8 +1063,7 @@ void RDSoundPanel::PlayMacro(RDPanelButton *button,RDCart *cart)
rml.setAddress(rda->station()->address());
rml.setEchoRequested(false);
rml.setCommand(RDMacro::EX);
rml.setArgQuantity(1);
rml.setArg(0,cart->number());
rml.addArg(cart->number());
rda->ripc()->sendRml(&rml);
if(!panel_svcname.isEmpty()) {
LogTrafficMacro(button);