From e9a8e083a030c4b641a740e79089543e4a44884f Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 6 Aug 2015 12:51:42 +0000 Subject: [PATCH] bugfix for the word prediction in the App --- src/runtime/c/pgf/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c index 57a714fca..d1afcecac 100644 --- a/src/runtime/c/pgf/parser.c +++ b/src/runtime/c/pgf/parser.c @@ -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; }