[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src chat_room.c,1.5,1.6
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src chat_room.c,1.5,1.6 |
Date: |
Wed, 08 Jan 2003 14:10:24 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv23190/src
Modified Files:
chat_room.c
Log Message:
display contact's nick in "joined chat"
Index: chat_room.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_room.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- chat_room.c 2 Jan 2003 09:37:54 -0000 1.5
+++ chat_room.c 8 Jan 2003 19:10:22 -0000 1.6
@@ -368,9 +368,11 @@
void eb_chat_room_buddy_arrive( eb_chat_room * room, gchar * alias, gchar *
handle )
{
eb_chat_room_buddy * ecrb = g_new0(eb_chat_room_buddy, 1 );
-
+ gchar *tmp;
gchar buff[2048];
- g_snprintf(buff, 2048, _("<i>%s has joined the chat</i>"), handle);
+ tmp = g_strdup_printf("%s (%s)", alias, handle);
+ g_snprintf(buff, 2048, _("<i>%s has joined the chat</i>"), tmp);
+ g_free(tmp);
eb_chat_room_show_3rdperson(room, buff);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src chat_room.c,1.5,1.6,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.52,1.53 configure.in,1.52,1.53
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.53,1.54 configure.in,1.53,1.54
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.52,1.53 configure.in,1.52,1.53
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.53,1.54 configure.in,1.53,1.54
- Index(es):