Fix prog_char usage (deprecated).