Mercurial > pidgin.yaz
changeset 13525:6a8d3a893264
[gaim-migrate @ 15901]
let's not infinite loop here.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sun, 19 Mar 2006 22:29:33 +0000 |
parents | 57bde2deabcb |
children | e79d8720de34 |
files | src/gtkconv.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Sat Mar 18 10:20:13 2006 +0000 +++ b/src/gtkconv.c Sun Mar 19 22:29:33 2006 +0000 @@ -6183,10 +6183,12 @@ conv = gtkconv->active_conv; - if(!gaim_status_is_available( + while(l && !gaim_status_is_available( gaim_account_get_active_status( gaim_conversation_get_account(conv)))) - continue; + l = l->next; + if (!l) + break; gaim_gtk_conv_window_remove_gtkconv(hidden_convwin, gtkconv); gaim_gtkconv_placement_place(gtkconv);