1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/AWAY reason tab completion shouldn't append space at the end.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2836 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-06-04 21:23:17 +00:00 committed by cras
parent 0b121d3816
commit 9092649c74

View File

@ -799,6 +799,8 @@ static void sig_complete_away(GList **list, WINDOW_REC *window,
g_return_if_fail(list != NULL); g_return_if_fail(list != NULL);
g_return_if_fail(word != NULL); g_return_if_fail(word != NULL);
*want_space = FALSE;
if (*word == '\0' && window->active_server != NULL) { if (*word == '\0' && window->active_server != NULL) {
reason = SERVER(window->active_server)->away_reason; reason = SERVER(window->active_server)->away_reason;
if (reason != NULL) { if (reason != NULL) {