Requests from RequestButtons were not handled in the correct order, they
were handled in the order pressed.
Signed-off-by: Ira W. Snyder <iwsnyder@csupomona.edu>
if (rhs.position_ != position_)
return false;
if (rhs.position_ != position_)
return false;
+ /* This is here to keep the order with "ALL" stops correct */
if (direction_ == ALL || rhs.direction_ == ALL)
return true;
if (direction_ == ALL || rhs.direction_ == ALL)
return true;
return (rhs.direction_ == direction_);
}
return (rhs.direction_ == direction_);
}