Skip to content
Snippets Groups Projects
Commit bcaf47b5 authored by rswindell's avatar rswindell
Browse files

When using Ctrl-T to display time info (globally), if the time left has

been reduced due to an upcoming event, say so here.
parent a17ddb3b
No related branches found
No related tags found
No related merge requests found
...@@ -239,6 +239,8 @@ char sbbs_t::handle_ctrlkey(char ch, long mode) ...@@ -239,6 +239,8 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
,sectostr((uint)(now-logontime),tmp)); ,sectostr((uint)(now-logontime),tmp));
bprintf(text[TiTimeLeft] bprintf(text[TiTimeLeft]
,sectostr(timeleft,tmp)); ,sectostr(timeleft,tmp));
if(sys_status&SS_EVENT)
bprintf(text[ReducedTime],timestr(event_time));
SYNC; SYNC;
RESTORELINE; RESTORELINE;
lncntr=0; lncntr=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment