# HG changeset patch # User Mark Doliner # Date 1091584675 0 # Node ID 0b570eec4eca292261208210ee26fd6002ab2e40 # Parent 51464cbbdc1a3057575c0e74bd7873d0049085eb [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 diff -r 51464cbbdc1a -r 0b570eec4eca src/gtkblist.c --- 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);