Mercurial > pidgin
changeset 14494:0aa6adcdd819
[gaim-migrate @ 17213]
Correction from wabz on his previous patch.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 10 Sep 2006 02:09:45 +0000 |
parents | 5ac8f22e7b08 |
children | c804f41d61ae |
files | libgaim/protocols/msn/notification.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/msn/notification.c Sun Sep 10 00:17:44 2006 +0000 +++ b/libgaim/protocols/msn/notification.c Sun Sep 10 02:09:45 2006 +0000 @@ -677,7 +677,7 @@ user = msn_userlist_find_user(session->userlist, passport); old_friendly = msn_user_get_friendly_name(user); - if (old_friendly && strcmp(old_friendly, friendly)) + if (!old_friendly || (old_friendly && strcmp(old_friendly, friendly))) { serv_got_alias(gc, passport, friendly); msn_user_set_friendly_name(user, friendly);