mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 19:25:27 -07:00
bugfix for the word prediction in the App
This commit is contained in:
1 parent
266fe48aa8
commit
9b0cb5adad
1 file changed
+1
-1
@@ -2259,7 +2259,7 @@ gu_fullform_enum_next(GuEnum* self, void* to, GuPool* pool)
|
||||
PgfSequence* seq = gu_seq_index(st->sequences, PgfSequence, st->seq_idx);
|
||||
GuString tokens = pgf_get_tokens(seq->syms, 0, pool);
|
||||
|
||||
if (gu_string_is_prefix(st->prefix, tokens) != 0) {
|
||||
if (!gu_string_is_prefix(st->prefix, tokens)) {
|
||||
st->seq_idx = n_seqs;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user