mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-18 14:41:26 +01:00
2020-06-23 Fred Gleason <fredg@paravelsystems.com>
* Applied the RD_MAX_CART_NUMBER define in 'rdairplay/local_macros.cpp'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -19909,3 +19909,6 @@
|
|||||||
* Fixed a bug in the 'Add Next' ['PX'] RML that failed to honor
|
* Fixed a bug in the 'Add Next' ['PX'] RML that failed to honor
|
||||||
the 'Default Trans. Type' setting in the 'Configure RDAirPlay'
|
the 'Default Trans. Type' setting in the 'Configure RDAirPlay'
|
||||||
dialog in rdadmin(1).
|
dialog in rdadmin(1).
|
||||||
|
2020-06-23 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Applied the RD_MAX_CART_NUMBER define in
|
||||||
|
'rdairplay/local_macros.cpp'.
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
|
|||||||
(rml->arg(1).toInt()>AIR_PANEL_BUTTON_COLUMNS)||
|
(rml->arg(1).toInt()>AIR_PANEL_BUTTON_COLUMNS)||
|
||||||
(rml->arg(2).toInt()<=0)||
|
(rml->arg(2).toInt()<=0)||
|
||||||
(rml->arg(2).toInt()>AIR_PANEL_BUTTON_ROWS)||
|
(rml->arg(2).toInt()>AIR_PANEL_BUTTON_ROWS)||
|
||||||
(rml->arg(3).toUInt()>999999)) {
|
(rml->arg(3).toUInt()>RD_MAX_CART_NUMBER)) {
|
||||||
if(rml->echoRequested()) {
|
if(rml->echoRequested()) {
|
||||||
rml->acknowledge(false);
|
rml->acknowledge(false);
|
||||||
rda->ripc()->sendRml(rml);
|
rda->ripc()->sendRml(rml);
|
||||||
@@ -799,7 +799,7 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
|
|||||||
offset=0;
|
offset=0;
|
||||||
trans=air_default_trans_type;
|
trans=air_default_trans_type;
|
||||||
if((mach<1)||(mach>3)||
|
if((mach<1)||(mach>3)||
|
||||||
(rml->arg(1).toUInt()>999999)) {
|
(rml->arg(1).toUInt()>RD_MAX_CART_NUMBER)) {
|
||||||
if(rml->echoRequested()) {
|
if(rml->echoRequested()) {
|
||||||
rml->acknowledge(false);
|
rml->acknowledge(false);
|
||||||
rda->ripc()->sendRml(rml);
|
rda->ripc()->sendRml(rml);
|
||||||
@@ -904,7 +904,7 @@ void MainWidget::RunLocalMacros(RDMacro *rml)
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(rml->arg(2).toUInt()>999999) {
|
if(rml->arg(2).toUInt()>RD_MAX_CART_NUMBER) {
|
||||||
if(rml->echoRequested()) {
|
if(rml->echoRequested()) {
|
||||||
rml->acknowledge(false);
|
rml->acknowledge(false);
|
||||||
rda->ripc()->sendRml(rml);
|
rda->ripc()->sendRml(rml);
|
||||||
|
|||||||
Reference in New Issue
Block a user