# HG changeset patch
# User Luke Schierer <lschiere@pidgin.im>
# Date 1075229423 0
# Node ID e68b1486c7adf01f7588ec5de2bcf5b8f36ead86
# Parent  d0ba2f7b40e7d589a3f2c05a4d7113ff427a08f2
[gaim-migrate @ 8885]
(13:46:53) datallah: LSchiere: i have a patch for tab complete
(13:47:01) LSchiere: awesome
(13:49:31) LSchiere: commit message?
(13:50:09) ChipX86: "The sheep are coming home for the winter."
(13:50:20) datallah: that works hehe
(13:50:34) Etan: oh no, that means I'll need to make room

committer: Tailor Script <tailor@pidgin.im>

diff -r d0ba2f7b40e7 -r e68b1486c7ad src/gtkconv.c
--- a/src/gtkconv.c	Tue Jan 27 04:46:05 2004 +0000
+++ b/src/gtkconv.c	Tue Jan 27 18:50:23 2004 +0000
@@ -2927,6 +2927,7 @@
 		char *nick = nicks->data;
 
 		strncpy(nick_partial, nick, strlen(entered));
+		nick_partial[strlen(entered)] = '\0';
 		if(gaim_utf8_strcasecmp(nick_partial, entered))
 			continue;