diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-11-05 09:32:25 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-11-05 09:32:25 +0100 |
commit | 70c8fd4657ffab8488e7a83bd2808f2dd6fbfbc8 (patch) | |
tree | 1c1206011c1c819c0b81bf78aaccba20e2996d21 /src/command/cmd_ac.c | |
parent | 36e0bfde46dc88c3988dfe513b9df8c18fd438a1 (diff) | |
download | profani-tty-70c8fd4657ffab8488e7a83bd2808f2dd6fbfbc8.tar.gz |
Simplify _tray_autocomplete()
Diffstat (limited to 'src/command/cmd_ac.c')
-rw-r--r-- | src/command/cmd_ac.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index b90a2d0e..50bc924e 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -1840,11 +1840,7 @@ _tray_autocomplete(ProfWin* window, const char* const input, gboolean previous) } result = autocomplete_param_with_ac(input, "/tray", tray_ac, FALSE, previous); - if (result) { - return result; - } - - return NULL; + return result; } static char* |