Huw Davies : riched20: Move handling of EM_SETCHARFORMAT to a helper function.