1
0
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:
James Booth 2016-05-24 01:37:25 +01:00
parent d1ece21b5f
commit 78c23dce58

View File

@ -1881,7 +1881,7 @@ static char*
_theme_autocomplete(ProfWin *window, const char *const input)
{
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) {
theme_load_ac = autocomplete_new();
GSList *themes = theme_list();