changeset 4467:7d24d409d710

[gaim-migrate @ 4742] Tab dragging should work right in all cases now (I hope). committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 04:18:53 +0000
parents 473de7371a97
children a046ff4793ca
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Jan 30 03:48:00 2003 +0000
+++ b/src/conversation.c	Thu Jan 30 04:18:53 2003 +0000
@@ -668,8 +668,8 @@
 		return;
 
 	/* We can't move this past the last index. */
-	if (new_index >= gaim_window_get_conversation_count(win))
-		new_index = gaim_window_get_conversation_count(win) - 1;
+	if (new_index > gaim_window_get_conversation_count(win))
+		new_index = gaim_window_get_conversation_count(win);
 
 	/* Get the list item for this conversation at its current index. */
 	l = g_list_nth(gaim_window_get_conversations(win), index);