fix crash: we want to do is_digit() on *char* not on char*