comparison src/oscar.c @ 472:6a92cd7322cc

[gaim-migrate @ 482] merged chat and IM windows. /me is now in IM, font/color dialogs in chat, and smileys in chat too. also, fixed the GOOD bug. i don't know what kind of crack rob was smoking when he decided O could be eyes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Jul 2000 23:19:21 +0000
parents b5c2359d633e
children 64afc8f41bcb
comparison
equal deleted inserted replaced
471:4d0b703a094c 472:6a92cd7322cc
718 va_list ap; 718 va_list ap;
719 int count, i = 0; 719 int count, i = 0;
720 struct aim_userinfo_s *info; 720 struct aim_userinfo_s *info;
721 721
722 GList *bcs = buddy_chats; 722 GList *bcs = buddy_chats;
723 struct buddy_chat *b = NULL; 723 struct conversation *b = NULL;
724 724
725 va_start(ap, command); 725 va_start(ap, command);
726 count = va_arg(ap, int); 726 count = va_arg(ap, int);
727 info = va_arg(ap, struct aim_userinfo_s *); 727 info = va_arg(ap, struct aim_userinfo_s *);
728 va_end(ap); 728 va_end(ap);
729 729
730 while(bcs) { 730 while(bcs) {
731 b = (struct buddy_chat *)bcs->data; 731 b = (struct conversation *)bcs->data;
732 if (!strcasecmp(b->name, (char *)command->conn->priv)) 732 if (!strcasecmp(b->name, (char *)command->conn->priv))
733 break; 733 break;
734 bcs = bcs->next; 734 bcs = bcs->next;
735 b = NULL; 735 b = NULL;
736 } 736 }
748 va_list ap; 748 va_list ap;
749 int count, i = 0; 749 int count, i = 0;
750 struct aim_userinfo_s *info; 750 struct aim_userinfo_s *info;
751 751
752 GList *bcs = buddy_chats; 752 GList *bcs = buddy_chats;
753 struct buddy_chat *b = NULL; 753 struct conversation *b = NULL;
754 754
755 va_start(ap, command); 755 va_start(ap, command);
756 count = va_arg(ap, int); 756 count = va_arg(ap, int);
757 info = va_arg(ap, struct aim_userinfo_s *); 757 info = va_arg(ap, struct aim_userinfo_s *);
758 va_end(ap); 758 va_end(ap);
759 759
760 while(bcs) { 760 while(bcs) {
761 b = (struct buddy_chat *)bcs->data; 761 b = (struct conversation *)bcs->data;
762 if (!strcasecmp(b->name, (char *)command->conn->priv)) 762 if (!strcasecmp(b->name, (char *)command->conn->priv))
763 break; 763 break;
764 bcs = bcs->next; 764 bcs = bcs->next;
765 b = NULL; 765 b = NULL;
766 } 766 }
785 va_list ap; 785 va_list ap;
786 struct aim_userinfo_s *info; 786 struct aim_userinfo_s *info;
787 char *msg; 787 char *msg;
788 788
789 GList *bcs = buddy_chats; 789 GList *bcs = buddy_chats;
790 struct buddy_chat *b = NULL; 790 struct conversation *b = NULL;
791 791
792 va_start(ap, command); 792 va_start(ap, command);
793 info = va_arg(ap, struct aim_userinfo_s *); 793 info = va_arg(ap, struct aim_userinfo_s *);
794 msg = va_arg(ap, char *); 794 msg = va_arg(ap, char *);
795 795
796 while(bcs) { 796 while(bcs) {
797 b = (struct buddy_chat *)bcs->data; 797 b = (struct conversation *)bcs->data;
798 if (!strcasecmp(b->name, (char *)command->conn->priv)) 798 if (!strcasecmp(b->name, (char *)command->conn->priv))
799 break; 799 break;
800 bcs = bcs->next; 800 bcs = bcs->next;
801 b = NULL; 801 b = NULL;
802 } 802 }