269 P. 668 | Cal. Ct. App. | 1928
[1] Heretofore the state highway commission awarded a contract to Freeman Whiting to build a portion of the state highway located in San Mateo County. Pursuant to the provisions of chapter 303, Statutes of 1919, the contractors, as principals, and the American Indemnity Company, as surety, executed to the state of California a bond. The bond was in all respects as provided by the statute. Thereafter the contractors entered upon the performance of the contract. While so engaged they obtained certain materials and supplies from the plaintiff. *508
Later the construction was completed. The plaintiff duly filed a notice to withhold. In due time it commenced this action against the contractors and the bonding company. Later the defendants appeared and filed a demurrer. While the demurrer was pending the contractors obtained a withdrawal of all moneys from the state of California. After they obtained possession of the moneys they paid to the plaintiff the principal of the sum claimed by the plaintiff, but did not pay the accrued interest or costs. Later they tendered a check covering the amount of costs and interest, but not containing any sum whatever in payment of plaintiff's attorney fees. The plaintiff refused the check and it was deposited for the plaintiff's account. Having taken the foregoing steps the defendants prepared an answer pleading all of the foregoing facts which had occurred subsequent to the filing of the complaint. Thereafter the action proceeded to trial before the trial court sitting without a jury. The trial court made findings of fact in favor of the plaintiff and ordered the judgment in its favor for a sum including accrued interest and costs, including, among other items, $500 as attorney fees. From a judgment entered thereon the defendants have appealed. If that portion of the judgment awarding attorney fees was correct, it is clear that the judgment should be affirmed. In this connection the defendants quote the record showing that before the date of the trial they had paid the principal sum claimed by the plaintiff; that therefore there was not and could not be a trial on that element. The defendants then argue that under such facts the plaintiff could not be, and that the defendants necessarily must be, "the prevailing party." (Chap. 303, Stats. 1919.) What with moneys paid to it before trial, and what with moneys obtained by virtue of the judgment, the plaintiff recovered every element it sued for. It had to fight for each element. It was "the prevailing party" within the meaning of those words as used in the statute to the same extent and degree that it would have been if the principal sum had not been paid before answer filed but had been withheld and had been included as a part of the judgment itself. The difference between this and any other action was merely in the procedure, but nothing was obtained without a contest, in which it prevailed. *509
[2] The defendants cite Builders' Supply Depot v.O'Connor,
The judgment is affirmed.
Nourse, J., and Buck, P.J., pro tem., concurred.