Changed colors in change protocol
This commit is contained in:
parent
983ea43925
commit
3e69bb2470
@ -48,6 +48,8 @@ v0.71.0 27-Oct-2004
|
|||||||
work.
|
work.
|
||||||
Added ymodem and xmodem download protocols, both with option
|
Added ymodem and xmodem download protocols, both with option
|
||||||
for 1k blocks. Not yet enabled for public use also.
|
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
|
Note: you could enable the internal protocols by adding these
|
||||||
to the protocol setup. But I recommend against it because not
|
to the protocol setup. But I recommend against it because not
|
||||||
|
@ -872,10 +872,14 @@ void Chg_Protocol()
|
|||||||
pout(CFG.HiliteF, CFG.HiliteB, (char *) Language(263));
|
pout(CFG.HiliteF, CFG.HiliteB, (char *) Language(263));
|
||||||
Enter(2);
|
Enter(2);
|
||||||
|
|
||||||
colour(9,0);
|
|
||||||
while (fread(&PROT, PROThdr.recsize, 1, pProtConfig) == 1) {
|
while (fread(&PROT, PROThdr.recsize, 1, pProtConfig) == 1) {
|
||||||
if (PROT.Available && Access(exitinfo.Security, PROT.Level)) {
|
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);
|
PUTSTR(temp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user