From bcaf47b59270a9964ffcb26531cba85b25e5d430 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sun, 11 Mar 2018 21:29:01 +0000
Subject: [PATCH] When using Ctrl-T to display time info (globally), if the
 time left has been reduced due to an upcoming event, say so here.

---
 src/sbbs3/inkey.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sbbs3/inkey.cpp b/src/sbbs3/inkey.cpp
index f63933eb3f..c815c2ef59 100644
--- a/src/sbbs3/inkey.cpp
+++ b/src/sbbs3/inkey.cpp
@@ -239,6 +239,8 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
 				,sectostr((uint)(now-logontime),tmp));
 			bprintf(text[TiTimeLeft]
 				,sectostr(timeleft,tmp));
+			if(sys_status&SS_EVENT)
+				bprintf(text[ReducedTime],timestr(event_time));
 			SYNC;
 			RESTORELINE;
 			lncntr=0;
-- 
GitLab