From 3e69bb2470470e769b4aab70180878022171fdf6 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 27 Nov 2004 13:18:20 +0000 Subject: [PATCH] Changed colors in change protocol --- ChangeLog | 2 ++ mbsebbs/change.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 61d91cbb..34083c01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -48,6 +48,8 @@ v0.71.0 27-Oct-2004 work. Added ymodem and xmodem download protocols, both with option for 1k blocks. Not yet enabled for public use also. + After upload, files are now stored correctly in the filebase. + In change protocol, changed the colors. Note: you could enable the internal protocols by adding these to the protocol setup. But I recommend against it because not diff --git a/mbsebbs/change.c b/mbsebbs/change.c index a42b35c1..6083a689 100644 --- a/mbsebbs/change.c +++ b/mbsebbs/change.c @@ -872,10 +872,14 @@ void Chg_Protocol() pout(CFG.HiliteF, CFG.HiliteB, (char *) Language(263)); Enter(2); - colour(9,0); while (fread(&PROT, PROThdr.recsize, 1, pProtConfig) == 1) { if (PROT.Available && Access(exitinfo.Security, PROT.Level)) { - sprintf(temp, "(%s) %-20s Efficiency %3d %%\r\n", PROT.ProtKey, PROT.ProtName, PROT.Efficiency); + colour(LIGHTBLUE, BLACK); + PUTCHAR('('); + colour(WHITE, BLACK); + PUTSTR(PROT.ProtKey); + colour(LIGHTBLUE, BLACK); + sprintf(temp, ") %-20s Efficiency %3d %%\r\n", PROT.ProtName, PROT.Efficiency); PUTSTR(temp); } }