# HG changeset patch # User Christian Hammond # Date 1043900333 0 # Node ID 7d24d409d7105edb14c2ed5ff65349dfff324478 # Parent 473de7371a97c797f0c9438874b20272f173c481 [gaim-migrate @ 4742] Tab dragging should work right in all cases now (I hope). committer: Tailor Script diff -r 473de7371a97 -r 7d24d409d710 src/conversation.c --- 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);