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

Make it very obvious when a timed event has been disabled

By displaying "<DISABLED>" instead of the command-line in the event list.
parent 87bbc1e9
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1457 passed
......@@ -420,7 +420,9 @@ void tevents_cfg()
while(1) {
for(i=0;i<cfg.total_events && i<MAX_OPTS;i++)
sprintf(opt[i],"%-8.8s %s",cfg.event[i]->code,cfg.event[i]->cmd);
sprintf(opt[i],"%-8.8s %s"
,cfg.event[i]->code
,(cfg.event[i]->misc&EVENT_DISABLED) ? "<DISABLED>" : cfg.event[i]->cmd);
opt[i][0]=0;
j=WIN_SAV|WIN_ACT|WIN_CHE|WIN_RHT;
if(cfg.total_events)
......
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