From b678159d8a4ad2420bc571027792aa753972b0a3 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 14 Aug 2005 09:46:52 +0000 Subject: [PATCH] Moved getrfcchrs function into mbselib.a --- mbsetup/ledit.c | 4 ++-- mbsetup/m_marea.c | 11 ++++++----- mbsetup/m_mgroup.c | 6 +++--- mbsetup/m_users.c | 4 ++-- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/mbsetup/ledit.c b/mbsetup/ledit.c index de177765..f8551afd 100644 --- a/mbsetup/ledit.c +++ b/mbsetup/ledit.c @@ -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)); } diff --git a/mbsetup/m_marea.c b/mbsetup/m_marea.c index 4b9e371e..4eff50cd 100644 --- a/mbsetup/m_marea.c +++ b/mbsetup/m_marea.c @@ -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); diff --git a/mbsetup/m_mgroup.c b/mbsetup/m_mgroup.c index 2613187e..b58f1727 100644 --- a/mbsetup/m_mgroup.c +++ b/mbsetup/m_mgroup.c @@ -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, "\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"); diff --git a/mbsetup/m_users.c b/mbsetup/m_users.c index 45719d65..99bf8985 100644 --- a/mbsetup/m_users.c +++ b/mbsetup/m_users.c @@ -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);