mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Simplify _tray_autocomplete()
This commit is contained in:
parent
36e0bfde46
commit
70c8fd4657
@ -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);
|
result = autocomplete_param_with_ac(input, "/tray", tray_ac, FALSE, previous);
|
||||||
if (result) {
|
return result;
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static char*
|
static char*
|
||||||
|
Loading…
Reference in New Issue
Block a user