mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Terminate autocomplete list, python plugins
This commit is contained in:
parent
cdd10d5b72
commit
8831715f7a
@ -108,6 +108,7 @@ python_api_register_ac(PyObject *self, PyObject *args)
|
|||||||
char *c_item = PyString_AsString(item);
|
char *c_item = PyString_AsString(item);
|
||||||
c_items[i] = c_item;
|
c_items[i] = c_item;
|
||||||
}
|
}
|
||||||
|
c_items[len] = NULL;
|
||||||
|
|
||||||
autocompleters_add(key, c_items);
|
autocompleters_add(key, c_items);
|
||||||
return Py_BuildValue("");
|
return Py_BuildValue("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user