changeset 2797:ccb5b2f05d16

[gaim-migrate @ 2810] (16:50:36) LSchiere: warmenhoven: did something happen to the %n substitution in away messages in today's cvs? (16:51:20) warmenhoven: oh, probably. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 27 Nov 2001 00:54:01 +0000
parents e8d26a18be94
children 35046c134b8b
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Nov 26 23:20:40 2001 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Nov 27 00:54:01 2001 +0000
@@ -1619,19 +1619,20 @@
 		if (evilhack) {
 			g_show_info_text(gc, info->sn, 2,
 					 header,
-					 (prof && *prof) ? prof :
+					 (prof && *prof) ? away_subs(prof, gc->username) :
 						_("<i>User has no away message</i>"),
 					 legend, NULL);
 		} else {
 			g_show_info_text(gc, info->sn, 0,
 					 header,
-					 (prof && *prof) ? prof : NULL,
+					 (prof && *prof) ? away_subs(prof, gc->username) : NULL,
 					 NULL);
 		}
 	} else {
 		g_show_info_text(gc, info->sn, 1,
 				 "<BR><HR><BR>",
-				 (prof && *prof) ? prof : _("<i>No Information Provided</i>"),
+				 (prof && *prof) ? away_subs(prof, gc->username) :
+					_("<i>No Information Provided</i>"),
 				 legend,
 				 NULL);
 	}