changeset 514:44123888a941

[gaim-migrate @ 524] whoops. formatting. i forgot. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Jul 2000 01:21:38 +0000
parents eaddaa0dbbcb
children b33ed0a7f49b
files src/buddy.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Fri Jul 21 01:16:55 2000 +0000
+++ b/src/buddy.c	Fri Jul 21 01:21:38 2000 +0000
@@ -1453,22 +1453,22 @@
 		if (bit & caps) {
 			switch (bit) {
 			case AIM_CAPS_BUDDYICON:
-				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sBuddy Icon"), count ? "," : "");
+				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sBuddy Icon"), count ? ", " : "");
 				break;
 			case AIM_CAPS_VOICE:
-				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sVoice"), count ? "," : "");
+				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sVoice"), count ? ", " : "");
 				break;
 			case AIM_CAPS_IMIMAGE:
-				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sIM Image"), count ? "," : "");
+				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sIM Image"), count ? ", " : "");
 				break;
 			case AIM_CAPS_CHAT:
-				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sChat"), count ? "," : "");
+				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sChat"), count ? ", " : "");
 				break;
 			case AIM_CAPS_GETFILE:
-				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sGet File"), count ? "," : "");
+				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sGet File"), count ? ", " : "");
 				break;
 			case AIM_CAPS_SENDFILE:
-				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sSend File"), count ? "," : "");
+				i += g_snprintf(buf + i, sizeof(buf) - i, _("%sSend File"), count ? ", " : "");
 				break;
 			}
 			count++;
@@ -1533,7 +1533,7 @@
 		} else
 			caps[0] = '\0';
 		
-                i = g_snprintf(infotip, sizeof(infotip), _("Name: %s                \nLogged in: %s\n%s%s%s\n%s"), b->name, sotime, warn, ((b->idle) ? _("Idle: ") : ""),  itime, caps);
+                i = g_snprintf(infotip, sizeof(infotip), _("Name: %s                \nLogged in: %s\n%s%s%s%s%s"), b->name, sotime, warn, ((b->idle) ? _("Idle: ") : ""),  itime, ((b->idle) ? "\n" : ""), caps);
 
 		gtk_tooltips_set_tip(tips, GTK_WIDGET(b->item), infotip, "");