Add patch for xchat that removes the space after nick-completed nicknames.
[overlay.git] / net-irc / xchat / files / xchat-2.8.6-nickcompletion_without_space.diff
1 --- xchat-2.8.6-orig/src/fe-gtk/fkeys.c 2010-07-01 10:41:26.000000000 +0200
2 +++ xchat-2.8.6/src/fe-gtk/fkeys.c      2010-07-01 10:54:22.000000000 +0200
3 @@ -1661,7 +1661,6 @@
4                 strncat (buf, result, COMP_BUF - (prefix_len + 3)); /* make sure nicksuffix and space fits */
5                 if(!prefix_len && is_nick)
6                         strcat (buf, &prefs.nick_suffix[0]);
7 -               strcat (buf, " ");
8                 cursor_pos = strlen (buf);
9                 if (postfix)
10                         strncat (buf, postfix, COMP_BUF - cursor_pos - 2);