diff --git a/configure.ac b/configure.ac index 8445477..395d345 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.52) m4_define([PKG_VERSION_MAJOR], [3]) m4_define([PKG_VERSION_MINOR], [7]) -m4_define([PKG_VERSION_PATCH], [11]) +m4_define([PKG_VERSION_PATCH], [12]) # Bump if the ABI (not API) changed in a backwards-incompatible manner m4_define([PKG_VERSION_ABI], [3]) diff --git a/lttoolbox/fst_processor.cc b/lttoolbox/fst_processor.cc index 833ce0d..b219639 100644 --- a/lttoolbox/fst_processor.cc +++ b/lttoolbox/fst_processor.cc @@ -2068,7 +2068,7 @@ FSTProcessor::bilingual(InputFile& input, UFILE *output, GenerationMode mode) } } // if there are no tags, we only return complete matches - if (!seenTags && queue_start < symbols.size()) result.clear(); + if (!seenTags && queue_start + 1 < symbols.size()) result.clear(); UString source; size_t queue_pos = 0;