mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 01:46:22 +00:00
Simplify _tray_autocomplete()
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user