Mercurial > pidgin.yaz
changeset 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 | 1ab06a680ac2 |
children | ccadd1da839b |
files | src/gtknotify.c src/gtkrequest.c |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
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);
--- a/src/gtkrequest.c Mon Sep 29 23:46:28 2003 +0000 +++ b/src/gtkrequest.c Mon Sep 29 23:47:35 2003 +0000 @@ -488,9 +488,8 @@ if (primary != NULL || secondary != NULL) { label_text = g_strdup_printf("<span weight=\"bold\" size=\"larger\">" - "%s</span>%s%s", + "%s</span>\n\n%s", (primary ? primary : ""), - (secondary ? "\n\n" : ""), (secondary ? secondary : "")); label = gtk_label_new(NULL);