mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Complete no arg for /theme load
This commit is contained in:
parent
d1ece21b5f
commit
78c23dce58
@ -1881,7 +1881,7 @@ static char*
|
|||||||
_theme_autocomplete(ProfWin *window, const char *const input)
|
_theme_autocomplete(ProfWin *window, const char *const input)
|
||||||
{
|
{
|
||||||
char *result = NULL;
|
char *result = NULL;
|
||||||
if ((strncmp(input, "/theme load ", 12) == 0) && (strlen(input) > 12)) {
|
if (strncmp(input, "/theme load ", 12) == 0) {
|
||||||
if (theme_load_ac == NULL) {
|
if (theme_load_ac == NULL) {
|
||||||
theme_load_ac = autocomplete_new();
|
theme_load_ac = autocomplete_new();
|
||||||
GSList *themes = theme_list();
|
GSList *themes = theme_list();
|
||||||
|
Loading…
Reference in New Issue
Block a user