summaryrefslogtreecommitdiffstats
path: root/src/lookup/phrase_lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup/phrase_lookup.cpp')
-rw-r--r--src/lookup/phrase_lookup.cpp3
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);