mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
Tab-completion for /SCRIPT UNLOAD crashed irssi soon after
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2342 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
46a6cf58f3
commit
16693c461f
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ static GList *script_complete(const char *name)
|
|||
PERL_SCRIPT_REC *rec = tmp->data;
|
||||
|
||||
if (strncmp(rec->name, name, len) == 0)
|
||||
list = g_list_append(list, rec->name);
|
||||
list = g_list_append(list, g_strdup(rec->name));
|
||||
}
|
||||
|
||||
return list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue