If two pieces of land have been sold by the same contract, and for one and the same price, with a designation of the measure of each, and there is less capacity in one and more in the other, compensation is made to the extent of due proportion; and the action, either in supplement or in diminution of the price, takes place only according to the rules above established.