1. Contract : POR building : damages. The errors assigned relate to the instruction given and refused. The plaintiffs asked the court to instruct the jury that the measure of defendant’s damages will be what it will cost to procure to be done the work necessary to make the building conform to the terms of the contract. This was refused. If the building simply lacked' certain particular items in order to complete it, the rule of damages as asked -would amount to the general rule, that plaintiffs are entitled to recover for their work done according to the contract, at the contract price, and are held for the damages consequent upon their failure to complete it. But the difficulty with plaintiffs’ rule, as asked, when applied to this case is, that here the work done was not done (as the defendant claimed, and the proof tended to show) according to the contract. So that the rule asked could not be properly applied to this case, if, indeed, it is ever the true rule. There was no error in it.
2. -presumption as to manner OP work. The contract was on the part of plaintiffs to do the work, nothing being specified as to. the manner in which it should be done. The court held, that as a matter of law, it was to be done in a workmanppe manner. q^e plaintiffs asked the court to instruct the jury, that, if they found the price grossly inadequate, they should consider that in determining the quality of the work. This was refused, and under the circumstances of this case, properly so. The plaintiffs sue upon the contract, and make no averments as to the inferior quality of the work to be done under it. They have no allegation making the modification of the general rule, as stated by the court, applicable to their case, even if it is ever applicable.
3_quantum mermt. The plaintiffs also claimed that if the defendant saw the work done without objection, and had been benefited, the plaintiffs are entitled to recover. Of course they are entRied to recover, but not the eon-*26tract price; the value only, and this is what the court held. The work being a part of his realty, as it was done, he could not but accept it, whether he object or no.
3. -quantum meruit. The court instructed the jury that, if the contract was made on Sunday, it was void, and the plaintiff could not recover thereon. This instruction was excepted to by plaintiffs. There was no issue made by the pleadings in relation to the invalidity of the contract as being made on Sunday, or for any other reason; nor was the matter referred to in the evidence, except incidentally. It was error, therefore, to give the instruction to the jury; it must have operated as a surprise upon the plaintiffs, as they complain it did, and may have been the point upon which the jury found against them. We do not stop to discuss the question of its correctness ; for whether correct or not, it was error to give it in this case under the issues made by the pleadings.