Simplify _sub_autocomplete()
This commit is contained in:
@@ -1827,13 +1827,9 @@ _sub_autocomplete(ProfWin* window, const char* const input, gboolean previous)
|
||||
return result;
|
||||
}
|
||||
result = autocomplete_param_with_ac(input, "/sub", sub_ac, TRUE, previous);
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static char*
|
||||
_tray_autocomplete(ProfWin* window, const char* const input, gboolean previous)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user