comparison src/conversation.c @ 745:d693b83e4933

[gaim-migrate @ 755] apply aliases of self committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 23 Aug 2000 02:43:34 +0000
parents 58a6e6e26695
children cd62f69d187e
comparison
equal deleted inserted replaced
744:f53e8f48628d 745:d693b83e4933
1092 char *clr; 1092 char *clr;
1093 char *smiley = g_malloc(7); 1093 char *smiley = g_malloc(7);
1094 struct buddy *b; 1094 struct buddy *b;
1095 1095
1096 if (!who) { 1096 if (!who) {
1097 if (flags & WFLAG_SEND) 1097 if (flags & WFLAG_SEND) {
1098 who = current_user->username; 1098 b = find_buddy(current_user->username);
1099 else { 1099 if (b)
1100 who = b->show;
1101 else
1102 who = current_user->username;
1103 } else {
1100 b = find_buddy(c->name); 1104 b = find_buddy(c->name);
1101 if (b) 1105 if (b)
1102 who = b->show; 1106 who = b->show;
1103 else 1107 else
1104 who = c->name; 1108 who = c->name;