diff --git a/src/readclause.cpp b/src/readclause.cpp index cdf20ab5..549d4ae1 100644 --- a/src/readclause.cpp +++ b/src/readclause.cpp @@ -2109,7 +2109,10 @@ if(option_ssml) parag=1; nl_count++; c2 = GetC(); // skip past space(s) } - UngetC(c2); + if(!Eof()) + { + UngetC(c2); + } if((nl_count==0) && (c1 == '.')) {