Multiples Lay Betting - Voided events

How do multiples lay bets work when an event is voided?

For example if I had a lay bet on two horses but one horse was a non-runner, would the bet continue but just for one horse and the liability changed to that one event that took place? Or would the whole bet be voided?