From d25206aa335a7b6735e704423877bdc64083548b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 15 Nov 2012 11:44:37 +0800 Subject: fixes constraints array --- tests/lookup/test_pinyin_lookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp index f762bea..3c714b9 100644 --- a/tests/lookup/test_pinyin_lookup.cpp +++ b/tests/lookup/test_pinyin_lookup.cpp @@ -55,7 +55,7 @@ int main( int argc, char * argv[]){ g_array_append_val(prefixes, sentence_start); CandidateConstraints constraints = g_array_new - (FALSE, FALSE, sizeof(lookup_constraint_t)); + (TRUE, FALSE, sizeof(lookup_constraint_t)); MatchResults results = g_array_new(FALSE, FALSE, sizeof(phrase_token_t)); -- cgit