diff src/gtknotify.c @ 7039:9f2285b667a7

[gaim-migrate @ 7602] I never learned to read filenames or function names. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 29 Sep 2003 23:47:35 +0000
parents feb3d21a7794
children acd2a66e59ed
line wrap: on
line diff
--- a/src/gtknotify.c	Mon Sep 29 23:46:28 2003 +0000
+++ b/src/gtknotify.c	Mon Sep 29 23:47:35 2003 +0000
@@ -287,8 +287,10 @@
 
 	/* Setup the descriptive label */
 	g_snprintf(label_text, sizeof(label_text),
-		   "<span weight=\"bold\" size=\"larger\">%s</span>\n%s",
-		   primary, (secondary ? secondary : ""));
+		   "<span weight=\"bold\" size=\"larger\">%s</span>%s%s",
+		   primary,
+		   (secondary ? "\n" : ""),
+		   (secondary ? secondary : ""));
 
 	label = gtk_label_new(NULL);