Simplify _tray_autocomplete()

This commit is contained in:
Michael Vetter
2020-11-05 09:32:25 +01:00
parent 36e0bfde46
commit 70c8fd4657

View File

@@ -1840,13 +1840,9 @@ _tray_autocomplete(ProfWin* window, const char* const input, gboolean previous)
} }
result = autocomplete_param_with_ac(input, "/tray", tray_ac, FALSE, previous); result = autocomplete_param_with_ac(input, "/tray", tray_ac, FALSE, previous);
if (result) {
return result; return result;
} }
return NULL;
}
static char* static char*
_who_autocomplete(ProfWin* window, const char* const input, gboolean previous) _who_autocomplete(ProfWin* window, const char* const input, gboolean previous)
{ {