Mercurial > pidgin
comparison src/list.c @ 4753:7c1db830f57b
[gaim-migrate @ 5070]
Ok, this is definately better. Maybe.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 13 Mar 2003 21:36:02 +0000 |
parents | e4a8c7215fdf |
children | c4ebe1a8484b |
comparison
equal
deleted
inserted
replaced
4752:e4a8c7215fdf | 4753:7c1db830f57b |
---|---|
1104 struct buddy *bud; | 1104 struct buddy *bud; |
1105 fprintf(file, "<?xml version='1.0' encoding='UTF-8' ?>\n"); | 1105 fprintf(file, "<?xml version='1.0' encoding='UTF-8' ?>\n"); |
1106 fprintf(file, "<gaim version=\"1\">\n"); | 1106 fprintf(file, "<gaim version=\"1\">\n"); |
1107 fprintf(file, "\t<blist>\n"); | 1107 fprintf(file, "\t<blist>\n"); |
1108 | 1108 |
1109 if (gaimbuddylist) | |
1110 for(group = (struct group*)gaimbuddylist->root; group; group = (struct group*)((GaimBlistNode*)group)->next) { | 1109 for(group = (struct group*)gaimbuddylist->root; group; group = (struct group*)((GaimBlistNode*)group)->next) { |
1111 if(!exp_acct || gaim_group_on_account(group, exp_acct)) { | 1110 if(!exp_acct || gaim_group_on_account(group, exp_acct)) { |
1112 char *group_name = g_markup_escape_text(group->name, -1); | 1111 char *group_name = g_markup_escape_text(group->name, -1); |
1113 fprintf(file, "\t\t<group name=\"%s\">\n", group_name); | 1112 fprintf(file, "\t\t<group name=\"%s\">\n", group_name); |
1114 for(buds = group->members; buds; buds = buds->next) { | 1113 for(buds = group->members; buds; buds = buds->next) { |