[gaim-migrate @ 4742]

Thu, 30 Jan 2003 04:18:53 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Thu, 30 Jan 2003 04:18:53 +0000
changeset 4467
0a26af01bd26
parent 4466
57833e49c0ac
child 4468
8eb1d7390aa6

[gaim-migrate @ 4742]
Tab dragging should work right in all cases now (I hope).

src/conversation.c file | annotate | diff | comparison | revisions
--- 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);

mercurial