pidgin/gtkconv.c

changeset 19377
468ee2c5cb1e
parent 19376
3145a5e1638d
child 19392
922122966465
equal deleted inserted replaced
19376:3145a5e1638d 19377:468ee2c5cb1e
6298 && purple_conv_chat_has_left(PURPLE_CONV_CHAT(conv)))) 6298 && purple_conv_chat_has_left(PURPLE_CONV_CHAT(conv))))
6299 title = g_strdup_printf("(%s)", purple_conversation_get_title(conv)); 6299 title = g_strdup_printf("(%s)", purple_conversation_get_title(conv));
6300 else 6300 else
6301 title = g_strdup(purple_conversation_get_title(conv)); 6301 title = g_strdup(purple_conversation_get_title(conv));
6302 6302
6303 if ((truncate = strchr(title, ' ')) || 6303 if (((truncate = strchr(title, ' ')) && strcmp(title, conv->name)) ||
6304 (truncate = strchr(title, '@'))) { 6304 (truncate = strchr(title, '@'))) {
6305 truncchar = *truncate; 6305 truncchar = *truncate;
6306 *truncate = '\0'; 6306 *truncate = '\0';
6307 } 6307 }
6308 6308

mercurial