Huw Davies : riched20: Move the range clamping to the helper now that the range isn' t used later on.