chars: don't try to see a character in an empty line

This fixes https://savannah.gnu.org/bugs/?48578.
1 file changed