diff options
author | Peng Wu <alexepico@gmail.com> | 2012-09-13 10:44:37 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-09-13 10:44:37 +0800 |
commit | 1545e641693a0ebc13c0da84f339fce2953479e5 (patch) | |
tree | 89c6341c839706c691dccc267d8ec855e4efff9e /src/lookup | |
parent | 99d9f0afb3610b3e1e87926fce7853c82d09b87c (diff) | |
download | libpinyin-1545e641693a0ebc13c0da84f339fce2953479e5.tar.gz libpinyin-1545e641693a0ebc13c0da84f339fce2953479e5.tar.xz libpinyin-1545e641693a0ebc13c0da84f339fce2953479e5.zip |
fixes code
Diffstat (limited to 'src/lookup')
-rw-r--r-- | src/lookup/phrase_lookup.cpp | 3 |
1 files changed, 1 insertions, 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); |