The company which makes macaroon bars and snowballs, Lees Foods, has announced it has reached a settlement with bakery firm Patisserie UK.
The Coatbridge firm bought Patisserie UK in 2007 but shortly afterwards it lost a major contract with Costa Coffee leading to big losses.
The two companies have now agreed a compensation deal totalling £225,000.
The sweets manufacturer will be paid £125,000 in cash and the rest in shares.
Lees Foods makes a range of products including the famous macaroon bars, meringues and snowballs.
The Waverley Bakery, bought by the Lees group in 2003, makes ice cream cones.
In September Lees reported an increase in half year pre-tax profits in its ongoing operations to nearly £400,000.
However, the Patisserie UK arm of the business, made a loss of £251,000 over the same period.