her smile widened , and she gave me a cheery wave , as though i were a knight going into battle to earn the favor of some fair maiden , instead of a prisoner who was about to be beaten within an inch of her life before she was summarily executed .