Moved getrfcchrs function into mbselib.a

This commit is contained in:
Michiel Broek 2005-08-14 09:46:52 +00:00
parent b07cd6b675
commit b678159d8a
4 changed files with 13 additions and 12 deletions

View File

@ -4,7 +4,7 @@
* Purpose ...............: Line Editor
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -2230,7 +2230,7 @@ char *getmenutype(int val)
void show_charset(int y, int x, int val)
{
show_str(y, x, 9, getchrs(val));
show_str(y, x, 9, getftnchrs(val));
}

View File

@ -4,7 +4,7 @@
* Purpose ...............: Message Areas Setup
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -854,7 +854,7 @@ void MsgGlobal(void)
break;
case 12:mbse_mvprintw(7, 6, "New netmail reply board %d", netbrd);
break;
case 13:mbse_mvprintw(7, 6, "New character set %s", getchrs(charset));
case 13:mbse_mvprintw(7, 6, "New character set %s", getftnchrs(charset));
break;
case 14:mbse_mvprintw(7, 6, "Delete message areas");
break;
@ -1043,7 +1043,8 @@ void MsgGlobal(void)
msgs.Charset = charset;
if (SaveMsgRec(marea, FALSE) == 0) {
Done++;
Syslog('+', "Changed character set to %s in area %s", getchrs(charset), msgs.Tag);
Syslog('+', "Changed character set to %s in area %s",
getftnchrs(charset), msgs.Tag);
}
}
break;
@ -1903,7 +1904,7 @@ int mail_area_doc(FILE *fp, FILE *toc, int page)
add_webtable(wp, (char *)"Offline name", msgs.QWKname);
add_webtable(wp, (char *)"Area type", getmsgtype(msgs.Type));
add_webtable(wp, (char *)"Messages type", getmsgkinds(msgs.MsgKinds));
add_webtable(wp, (char *)"Character set", getchrs(msgs.Charset));
add_webtable(wp, (char *)"Character set", getftnchrs(msgs.Charset));
add_webdigit(wp, (char *)"Days old msgs", msgs.DaysOld);
add_webdigit(wp, (char *)"Maximum msgs", msgs.MaxMsgs);
add_webdigit(wp, (char *)"Max articles", msgs.MaxArticles);
@ -1942,7 +1943,7 @@ int mail_area_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Offline name %s\n", msgs.QWKname);
fprintf(fp, " Area type %s\n", getmsgtype(msgs.Type));
fprintf(fp, " Messages type %s\n", getmsgkinds(msgs.MsgKinds));
fprintf(fp, " Character set %s\n", getchrs(msgs.Charset));
fprintf(fp, " Character set %s\n", getftnchrs(msgs.Charset));
fprintf(fp, " Days old msgs. %d\n", msgs.DaysOld);
fprintf(fp, " Maximum msgs. %d\n", msgs.MaxMsgs);
fprintf(fp, " Max articles %d\n", msgs.MaxArticles);

View File

@ -4,7 +4,7 @@
* Purpose ...............: Setup MGroups.
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -696,7 +696,7 @@ int mail_group_doc(FILE *fp, FILE *toc, int page)
add_webtable(wp, (char *)"Add quotes", getboolean(mgroup.Quotes));
add_webtable(wp, (char *)"Auto add/del areas", getboolean(mgroup.AutoChange));
add_webtable(wp, (char *)"User add/del areas", getboolean(mgroup.UserChange));
add_webtable(wp, (char *)"Default charset", getchrs(mgroup.Charset));
add_webtable(wp, (char *)"Default charset", getftnchrs(mgroup.Charset));
add_webtable(wp, (char *)"Start area date", ctime(&mgroup.StartDate));
add_webtable(wp, (char *)"Last active date", ctime(&mgroup.LastDate));
fprintf(wp, "</TBODY>\n");
@ -789,7 +789,7 @@ int mail_group_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Add quotes %s\n", getboolean(mgroup.Quotes));
fprintf(fp, " Auto add/del areas %s\n", getboolean(mgroup.AutoChange));
fprintf(fp, " User add/del areas %s\n", getboolean(mgroup.UserChange));
fprintf(fp, " Default charset %s\n", getchrs(mgroup.Charset));
fprintf(fp, " Default charset %s\n", getftnchrs(mgroup.Charset));
fprintf(fp, " Start area date %s", ctime(&mgroup.StartDate));
fprintf(fp, " Last active date %s\n", ctime(&mgroup.LastDate));
fprintf(fp, "\n\n");

View File

@ -4,7 +4,7 @@
* Purpose ...............: Edit Users
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -747,7 +747,7 @@ void users_doc(void)
add_webtable(wp, (char *)"Sex", usrconfig.sSex);
add_webtable(wp, (char *)"Protocol", usrconfig.sProtocol);
add_webtable(wp, (char *)"Archiver", usrconfig.Archiver);
add_webtable(wp, (char *)"Character set", getchrs(usrconfig.Charset));
add_webtable(wp, (char *)"Character set", getftnchrs(usrconfig.Charset));
add_webdigit(wp, (char *)"Screen length", usrconfig.iScreenLen);
sprintf(temp, "%c", usrconfig.iLanguage);
add_webtable(wp, (char *)"Language", temp);