This action was commenced in the county court of Dawes county. The suit went to judgment and determination in that court, and was duly appealed to the district court, where plaintiff filed his petition in numbered paragraphs in'which he alleged: (1) That plaintiff was engaged in the business of manufacturer and wholesale dealer in flour, corn meal and feed, at Scribner; (2) that on or about the 13th day of March, 1908, the defendant entered into a written contract with plaintiff for the purchase by defendant from plaintiff of certain quantities of flour and corn meal of certain brands, specifically set out in the petition; (3) that defendant agreed to pay for *779the same the sum of $581.05; (4) that plaintiff, depending upon said written contract, made up the flour and meal, having the same ready for delivery as per contract, and has at all times been ready to deliver the property in accordance and compliance with the conditions of the contract; (5) that on or about the 26th day of March, 1908, plaintiff received by mail a letter from defendant wherein defendant refused to perform the conditions of the contract and thereby repudiated and broke the same on his part; (6) that the cost to produce the flour and meal was $432, that the difference, “to wit, the sum of $149.05, is the profit accruing to the plaintiff on the said contract, completed by the parties thereto, and that because of” the breach thereof on the part of defendant the plaintiff lost the profit, “and is therefore • damaged in the said sum of $149.05 in the item of certain profits lost;” (7) that the plaintiff is further damaged by the breach of the contract by defendant in the sum of $100, which consists of interest on money invested in the wheat and corn, $5, storage on the flour and meal, $30, expense and salary of salesman in procuring the contract, loss of time of plaintiff, and incidental expenses incurred because of the repudiation of the contract, $65; (8) that the total amount of plaintiff’s damages is the sum of $249.05; (9) that the defendant refuses to pay the contract price of the flour and meal and refuses to pay the damages as alleged. (10) “Plaintiff alleges further that the amount claimed by him in his petition in the county court is $350, and that he amends in this petition to conform with the facts proved.” There is a prayer for judgment for $249.05, with interest and costs.
After the filing of the petition, and after the expiration of the time fixed by law for answer, and no answer being filed, plaintiff filed a written motion for a default against defendant. The journal entries do not show any disposition of such motion, and therefore the contention of plaintiff that an error was therein " committed cannot be noticed.
*780Defendant filed a general demurrer to the petition, and later aslced leave to withdraw the same and file a motion to strike out certain parts of the petition. This was granted, and the action of the court is now assigned as error. There is no exception shoAvn by the record, and, by failing to except, the error, if any, was waived. Hoavever, we can see no reversible error in this action of the court. The matter was within its discretion, and we can observe no abuse thereof.
Defendant then filed his motion to strike out the sixth, seventh and eighth paragraphs of the petition. The motion was sustained as to the sixth and seventh paragraphs, and to which plaintiff: excepted and now assigns the ruling for error. As to the seventh paragraph there can be no question but that the ruling was correct. The items of damages therein set up were not recoverable. They constituted no valid claim or cause of action. As to the sixth paragraph, if plaintiff’s contention as to his measure of damages is correct, the allegation that it cost him $432 to produce the flour and meal and his damages were the difference betAveen that sum and the contract price was proper, and the ruling Avould be erroneous, and the paragraph should not have been stricken. The remainder of the paragraph, while in part argumentative, closes with the averment that he is damaged in the sum of $149.05. The motion is to strike out the whole. The record recites: “Whereupon the plaintiff in open court declines and refuses to make any amendments or additions to his said petition as the same remains Avith the paragraphs stricken as hereinbefore ordered, and the defendant now here refiles his demurrer to the said petition as it now stands.” And the demurrer Avas sustained, to which ruling the plaintiff excepted. The demurrer was a general one that the facts stated in the petition did not constitute a cause of action. The action of the court in permitting defendant to refile the demurrer is assigned for error, but the question does not appear to have been raised in the district court.
*781Tlie next contention is that the court erred in sustaining the demurrer. We have endeavored to set out briefly, but fairly, an epitome of the petition and record. That the petition is umskillfully drawn and of unnecessary length cannot be doubted. The record is poorly made up and is quite unsatisfactory, as such. Counsel should aid the clerks in writing up the records if they desire them to follow prescribed forms and save rights. Plaintiff elected to stand upon his petition without amendment, when plaintiff moved the court to dismiss the suit, which was done, and judgment for costs rendered against plaintiff. Our conclusion is that, in any view of the case, the action of the district court in sustaining the demurrer was erroneous. Even liad the sixth paragraph of the petition been correctly stricken out, enough remained to constitute a cause of action for some damages, and the demurrer should have been overruled.
Prom the reading of the briefs it appears that the dispute is as to the correct measure of damages; the plaintiff claiming that the true measure would be the loss of profits accruing to him had defendant performed the contract, which would be the difference between what it cost plaintiff to furnish the flour and meal and the contract price, the difference being $149.05 with legal interest. This method of measuring damages is-combated by defendant.
In Kreamer v. Irwin, 46 Neb. 827, it was alleged in the petition that a contract was entered into with Irwin by which Kreamer agreed to furnish the labor, material and tools to raise and level the floor of a store building belonging to Irwin, the price to be $100; that in pursuance of the contract he made all necessary preparation, going to great expense, and that Irvin, in violation of his contract, refused to allow him to perform .the contract on his part. We held that the contractor’s measure of damages-was the profit he would have made on the contract had he performed it. The same was held in Western Union Telegraph Co. v. Wilhelm, 48 Neb. 910; Wittenberg v. Mollyneaux, 55 Neb. 429, 60 Neb. 583; Hale v. Hess & Co., 30 *782Neb. 42; Russell v. Horn, Brannen & Forsyth Mfg. Co., 41 Neb. 567; Schrandt v. Young, 2 Neb. (Unof.) 546; Parkins v. Missouri P. R. Co., 76 Neb. 242; Sedgwick, Damages (8th ed.) secs. 192, 613; Williston, Sales, p. 966 (sec. 64, clause 4).
The case of Trinidad Asphalt Mfg. Co. v. Buckstaff Bros. Mfg. Co., 86 Neb. 623, cited by defendant, is easily distinguished from the one now under consideration. In that case the question of the measure of damages was not involved. The purchaser of the goods had countermanded his order before shipment, as in this case, but the seller shipped the goods notwithstanding the countermand and sued for the purchase price. The holding was that the purchase price could not be collected, the purchaser having refused to accept the shipment, but that the action must be for damages. This suit is for damages, the measure of which is the difference between the necessary cost of production and the contract price, which would be the loss of profits.
The judgment of the district court is reversed and the cause is remanded, with leave to the plaintiff to amend his petition, should he elect so to do, and for further proceedings.
Reversed.