Changed colors in change protocol

This commit is contained in:
Michiel Broek 2004-11-27 13:18:20 +00:00
parent 983ea43925
commit 3e69bb2470
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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);
}
}