Skip to content
Snippets Groups Projects
Commit 07c561f9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

CRLF after each protocol option when less than 80 column terminal

Beautification for 40 column terminals.
parent 33bc7739
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -980,7 +980,7 @@ void sbbs_t::xfer_prot_menu(enum XFER_TYPE type) ...@@ -980,7 +980,7 @@ void sbbs_t::xfer_prot_menu(enum XFER_TYPE type)
continue; continue;
if(type==XFER_BIDIR && cfg.prot[i]->bicmd[0]==0) if(type==XFER_BIDIR && cfg.prot[i]->bicmd[0]==0)
continue; continue;
if(printed && (printed%2)==0) if(printed && (cols < 80 || (printed%2)==0))
CRLF; CRLF;
bprintf(text[TransferProtLstFmt],cfg.prot[i]->mnemonic,cfg.prot[i]->name); bprintf(text[TransferProtLstFmt],cfg.prot[i]->mnemonic,cfg.prot[i]->name);
printed++; printed++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment