changeset 1838:bee2239f5952

[gaim-migrate @ 1848] sdf committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 11 May 2001 08:20:00 +0000
parents 31f7780b72b8
children 109cacf1ff97
files src/oscar.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Fri May 11 08:06:13 2001 +0000
+++ b/src/oscar.c	Fri May 11 08:20:00 2001 +0000
@@ -1510,11 +1510,15 @@
 	infotype = (u_short)va_arg(ap, u_int);
 	va_end(ap);
 
-	asc = g_strdup(asctime(localtime(&info->membersince)));
+	if (info->membersince)
+		asc = g_strdup_printf("Member Since : <B>%s</B>\n",
+				asctime(localtime(&info->membersince)));
+	else
+		asc = g_strdup("");
 
 	g_snprintf(buf, sizeof buf,
 			_("Username : <B>%s</B>  %s <BR>\n"
-			"Member Since : <B>%s</B>\n"
+			"%s"
 			"Warning Level : <B>%d %%</B><BR>\n"
 			"Online Since : <B>%s</B><BR>\n"
 			"Idle Minutes : <B>%d</B>\n<BR>\n<HR><BR>\n"