Mercurial > pidgin
changeset 9658:0b570eec4eca
[gaim-migrate @ 10506]
Fix a bug SimGuy pointed out where adding a buddy with no alias resulted
in an alias of "" instead of NULL. I think this has always been this way,
but it was not visible until siege and I changed the gaim_buddy_get_alias
stuff
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 04 Aug 2004 01:57:55 +0000 |
parents | 51464cbbdc1a |
children | 0a82c4662c0d |
files | src/gtkblist.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Wed Aug 04 01:51:22 2004 +0000 +++ b/src/gtkblist.c Wed Aug 04 01:57:55 2004 +0000 @@ -3910,6 +3910,8 @@ who = gtk_entry_get_text(GTK_ENTRY(data->entry)); grp = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(data->combo)->entry)); whoalias = gtk_entry_get_text(GTK_ENTRY(data->entry_for_alias)); + if (*whoalias == '\0') + whoalias = NULL; c = gaim_find_conversation_with_account(who, data->account);