From 78c23dce5894e9a9688d204ea5271be7f64dff4d Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 24 May 2016 01:37:25 +0100 Subject: Complete no arg for /theme load --- src/command/cmd_ac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command') diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index ab62fa3a..df53b322 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -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(); -- cgit 1.4.1-2-gfad0