Whoops! Properly order the arguments to creating the chat infopane markup

Wed, 27 Jun 2007 23:15:37 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Wed, 27 Jun 2007 23:15:37 +0000
changeset 18386
0a365cb17ab4
parent 18385
78f4fe977405
child 18387
4fa2441d5319

Whoops! Properly order the arguments to creating the chat infopane markup

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkconv.c	Wed Jun 27 23:00:43 2007 +0000
+++ b/pidgin/gtkconv.c	Wed Jun 27 23:15:37 2007 +0000
@@ -6211,8 +6211,9 @@
 			const char *topic = purple_conv_chat_get_topic(chat);
 			markup = g_strdup_printf("%s%s<span color='%s' size='smaller'>%s</span>",
 						purple_conversation_get_title(conv),
+						topic ? "\n" : "",
 						pidgin_get_dim_grey_string(gtkconv->infopane),
-						topic ? "\n" : "", topic ? topic : "");
+						topic ? topic : "");
 		}
 		gtk_list_store_set(gtkconv->infopane_model, &(gtkconv->infopane_iter),
 				TEXT_COLUMN, markup, -1);

mercurial