From 5f530ef32e658d493899fe4130ff49827f4db4da Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 31 Mar 2020 07:19:46 +0000 Subject: [PATCH] Turn off hold_update when updating the clock. --- src/uifc/uifc32.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c index 450d3556bb..32f1f54039 100644 --- a/src/uifc/uifc32.c +++ b/src/uifc/uifc32.c @@ -545,11 +545,15 @@ static void timedisplay(BOOL force) static int savemin; time_t now; struct tm gm; + int old_hold; now=time(NULL); localtime_r(&now, &gm); if(force || savemin != gm.tm_min || difftime(now,savetime)>=60) { + old_hold=hold_update; + hold_update=FALSE; uprintf(api->scrn_width-25,1,api->bclr|(api->cclr<<4),utimestr(&now)); + hold_update=old_hold; savetime=now; savemin = gm.tm_min; } -- GitLab