Index: modules/filter/tex.cpp =================================================================== RCS file: /cvsroot/aspell/aspell/modules/filter/tex.cpp,v retrieving revision 1.8 diff -u -r1.8 tex.cpp --- modules/filter/tex.cpp 12 Aug 2002 23:10:18 -0000 1.8 +++ modules/filter/tex.cpp 20 Aug 2002 23:00:34 -0000 @@ -208,7 +208,8 @@ void TexFilter::process(FilterChar * & str, FilterChar * & stop) { FilterChar * cur = str; - while (cur != stop) { + FilterChar * stop0 = stop - 1; + while (cur != stop0) { if (process_char(*cur)) *cur = ' '; ++cur; @@ -345,5 +346,5 @@ {"tex-extension", KeyInfoList, "tex", "TeX file extensions"} }; const KeyInfo * tex_options_begin = tex_options; - const KeyInfo * tex_options_end = tex_options + 2; + const KeyInfo * tex_options_end = tex_options + 3; }