From 1545e641693a0ebc13c0da84f339fce2953479e5 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 13 Sep 2012 10:44:37 +0800 Subject: fixes code --- src/lookup/phrase_lookup.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lookup/phrase_lookup.cpp b/src/lookup/phrase_lookup.cpp index 1699139..9f4cf45 100644 --- a/src/lookup/phrase_lookup.cpp +++ b/src/lookup/phrase_lookup.cpp @@ -43,8 +43,7 @@ static bool populate_prefixes(GPtrArray * steps_index, LookupStepContent initial_step_content = (LookupStepContent) g_ptr_array_index(steps_content, 0); - initial_step_content = g_array_append_val - (initial_step_content, initial_value); + g_array_append_val(initial_step_content, initial_value); LookupStepIndex initial_step_index = (LookupStepIndex) g_ptr_array_index(steps_index, 0); -- cgit