From 4cffa0400f081aed5beea45f154efad0f00282e6 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 14 Oct 2007 21:23:14 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D12?= =?UTF-8?q?83=20"Liste=20aller=20Adressen=20=C3=BCbersichtlicher=20gestalt?= =?UTF-8?q?en"=20-=20improved=20address=20list=20a=20little?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/report.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/gamecode/report.c b/src/common/gamecode/report.c index b26053301..1405d4a0b 100644 --- a/src/common/gamecode/report.c +++ b/src/common/gamecode/report.c @@ -1727,9 +1727,12 @@ list_address(FILE * F, const faction * uf, const faction_list * seenfactions) const faction * f = flist->data; if (f->no!=MONSTER_FACTION) { char buf[8192]; + char label = '-'; sprintf(buf, "%s: %s; %s", factionname(f), f->email, f->banner); - rparagraph(F, buf, 4, 0, (char)(ALLIED(uf, f)?'+':'*')); + if (ALLIED(uf, f)) label = '+'; + else if (alliedfaction(NULL, uf, f, HELP_ALL)) label = '*'; + rparagraph(F, buf, 4, 0, label); #ifdef SHORTPWDS if (f->shortpwds) { shortpwd * spwd = f->shortpwds;