Added aka to use in golded.inc AREADEF lines

This commit is contained in:
Michiel Broek 2001-12-10 20:31:11 +00:00
parent 0140e43955
commit 358424d169
2 changed files with 6 additions and 2 deletions

View File

@ -4263,6 +4263,8 @@ v0.33.19 26-Oct-2001
When a file area is made unavailable in menu 8.4, first the When a file area is made unavailable in menu 8.4, first the
files in that area area checked. If there are none, the area files in that area area checked. If there are none, the area
is completly removed, including paths, indexes and database. is completly removed, including paths, indexes and database.
The AREADEF lines in golded.inc now contain the aka to use
instead of a dot.
mbsebbs: mbsebbs:
Added menu 317, change FS editor shortcut keys to (Emacs/ Added menu 317, change FS editor shortcut keys to (Emacs/

View File

@ -1320,7 +1320,7 @@ int NodeInMarea(fidoaddr A)
void gold_areas(FILE *fp) void gold_areas(FILE *fp)
{ {
char *temp; char *temp, *aka;
FILE *no; FILE *no;
int i = 0; int i = 0;
@ -1353,7 +1353,9 @@ void gold_areas(FILE *fp)
case ECHOMAIL : fprintf(fp, "C Echo"); break; case ECHOMAIL : fprintf(fp, "C Echo"); break;
case NEWS : fprintf(fp, "I News"); break; case NEWS : fprintf(fp, "I News"); break;
} }
fprintf(fp, " JAM %s . ", msgs.Base); aka = xstrcpy(strtok(aka2str(msgs.Aka), "@"));
fprintf(fp, " JAM %s %s ", msgs.Base, aka);
free(aka);
if (msgs.Type == NETMAIL) if (msgs.Type == NETMAIL)
fprintf(fp, "(Loc Pvt)"); fprintf(fp, "(Loc Pvt)");
else else