Mercurial > pidgin
comparison src/gtkconv.c @ 10846:bc92c35db3e7
[gaim-migrate @ 12518]
the "right" check
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 19 Apr 2005 04:03:47 +0000 |
parents | 3d7311bde284 |
children | c203cd637f95 |
comparison
equal
deleted
inserted
replaced
10845:3d7311bde284 | 10846:bc92c35db3e7 |
---|---|
927 | 927 |
928 buddies = gaim_find_buddies(account, name); | 928 buddies = gaim_find_buddies(account, name); |
929 for (cur = buddies; cur != NULL; cur = cur->next) | 929 for (cur = buddies; cur != NULL; cur = cur->next) |
930 { | 930 { |
931 GaimBlistNode *node = cur->data; | 931 GaimBlistNode *node = cur->data; |
932 if ((node != NULL) && (node->next != NULL)) | 932 if ((node != NULL) && ((node->prev != NULL) || (node->next != NULL))) |
933 { | 933 { |
934 gaim_gtk_log_show_contact((GaimContact *)node->parent); | 934 gaim_gtk_log_show_contact((GaimContact *)node->parent); |
935 g_slist_free(buddies); | 935 g_slist_free(buddies); |
936 return; | 936 return; |
937 } | 937 } |