diff options
Diffstat (limited to 'src/gui/gui-completion.c')
-rw-r--r-- | src/gui/gui-completion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index fde152aef..20bec9132 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -710,8 +710,8 @@ gui_completion_build_list_template (struct t_gui_completion *completion, { if (pos_end > pos) { - custom_completion = strndup (pos, - pos_end - pos); + custom_completion = string_strndup (pos, + pos_end - pos); if (custom_completion) { gui_completion_custom (completion, |