sync with sylpheed 0.7.0cvs38
[claws.git] / src / addressbook.c
index e78144f..6edc109 100644 (file)
@@ -1028,7 +1028,7 @@ gchar *addressbook_format_address( AddrItemObject * aio ) {
                }
        }
        if( address ) {
-               if( name ) {
+               if( name && name[0] != '\0' ) {
                        if( strchr_with_skip_quote( name, '"', ',' ) )
                                buf = g_strdup_printf( "\"%s\" <%s>", name, address );
                        else