mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Simplify _executable_autocomplete()
This commit is contained in:
parent
38978b153b
commit
711ea4887f
@ -4135,11 +4135,8 @@ _executable_autocomplete(ProfWin* window, const char* const input, gboolean prev
|
||||
char* result = NULL;
|
||||
|
||||
result = autocomplete_param_with_ac(input, "/executable", executable_ac, TRUE, previous);
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return result;
|
||||
}
|
||||
|
||||
static char*
|
||||
|
Loading…
Reference in New Issue
Block a user