This is the law in a criminal suit; but in a civil suit he shall lose that for the recovery of which he instituted the proceedings, if he wishes to retain his office.