(After stating the foregoing facts.) The general demurrer is based on the proposition that, in an action upon a breach of general warranty, an eviction or its equivalent must be shown before a recovery can be had.
Brooks
v.
Winkles,
139
Ga.
732 (
Special demurrers were interposed to the alleged items of damage of $500 spent as attorney fees in the defense of the original suit against the owner of the easement and $36 costs of the court record. Such attorney fees, paid out in previous litigation, are not generally recoverable in a later suit under Code § 20-1404, providing that the expenses of litigation may be allowed where the defendant has acted in bad faith, or has been stubbornly litigious, or has caused the plaintiff unnecessary trouble and- expense.
Randolph
v.
Merchants
&c.
Banking & Loan Co.,
58
Ga. App.
566, 573 (
*445
As to the recovery of attorney fees in the present suit, which is based on a breach of warranty, it should be noted that attorney fees under Code § 20-1404, supra, are generally limited to actions ex delicto, even though this section is classified in the Code under the chapter dealing with contracts. See
Traders Insurance Co.
v.
Mann,
118
Ga.
381 (7), 384 (
The first three grounds of the amended motion for a new trial are treated in connection with the general grounds. Special ground 1 complains that the plaintiff was allowed to answer a question as to the improvements he had placed on the lot (other than the warehouse), on the ground that such testimony was . irrelevant to any issue in the case. Special ground 2 excepts to the testimony that, after the warehouse was torn down, the plaintiff realized $100 in excess of the cost of tearing the same down, on the ground that the measure of damages would be the cost of replacement and not the difference between the cost of erection and the cost of taking away the building. Special ground 3 complains of the charge of the court on this subject to the effect that, if the plaintiff constructed the outbuilding under a reasonable belief that, he had a right to do so, and demolished it under a reasonable belief that he was required to do so either to comply with the terms of the easement or to lessen the *446 damages, the jury would be authorized to find a verdict for the plaintiff in the amount of the reasonable expense of constructing and demolishing the outbuilding.
Without deciding whether or not the proper measure of damages is as contended by the defendant, it should be pointed out that there was no demurrer to the petition on the ground that the plaintiff alleged the wrong measure of damages. A petition which sets out a cause of action, including a claim for damages such as would properly flow to the plaintiff, but which states a wrong method or measure by which the amount of damages is arrived at, is subject to special but not general demurrer.
City Council of Augusta
v.
Lamar,
37
Ga. App.
418 (5) (
Since the verdict is authorized by the evidence only for $900, and since the verdict is for $1300, $400 in the verdict is not authorized by the evidence. The judgment, however, with the $400 written off, would cure the error of the court in overruling the special demurrer as to attorney fees, and the writing off of the $400 would cure the defect in the verdict. The judgment, therefore, is affirmed upon condition that on receipt of the remittitur from this court by the trial court the sum of $400 be written off by the plaintiff; otherwise the judgment is reversed.
Judgment affirmed upon condition.
