diff options
author | James Booth <boothj5@gmail.com> | 2016-05-24 01:37:25 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-24 01:37:25 +0100 |
commit | 78c23dce5894e9a9688d204ea5271be7f64dff4d (patch) | |
tree | 87283c12417c181ec9ce7440f45fa25a3c9f4a4f | |
parent | d1ece21b5f581f39b97262e981a7d68e2a82f0bb (diff) | |
download | profani-tty-78c23dce5894e9a9688d204ea5271be7f64dff4d.tar.gz |
Complete no arg for /theme load
-rw-r--r-- | src/command/cmd_ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |