Mercurial > pidgin
diff src/account.c @ 5620:c9724982ce45
[gaim-migrate @ 6027]
The new account dialog rocks.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 01 Jun 2003 01:30:31 +0000 |
parents | 4a1f97312412 |
children | eb685809108b |
line wrap: on
line diff
--- a/src/account.c Sat May 31 22:58:06 2003 +0000 +++ b/src/account.c Sun Jun 01 01:30:31 2003 +0000 @@ -818,7 +818,7 @@ GList *l; g_return_if_fail(account != NULL); - g_return_if_fail(new_index > 0 && new_index < g_list_length(accounts)); + g_return_if_fail(new_index >= 0 && new_index <= g_list_length(accounts)); index = g_list_index(accounts, account);