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

In screen widths < 80 columns, auto-suppress the date/time display

The the date/time display would overwrite parts of the application
title in narrower screen modes, so let's not do that.
parent 18d1d783
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4329 passed
......@@ -583,6 +583,8 @@ static void timedisplay(BOOL force)
struct tm gm;
int old_hold;
if(api->scrn_width < 80)
return;
now=time(NULL);
localtime_r(&now, &gm);
if(force || savemin != gm.tm_min || difftime(now,savetime)>=60) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment