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

Use current settings as defaults for US-timezone and DST prompts.

parent 80a84783
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,9 @@ static void configure_dst(void)
strcpy(opt[1],"No");
strcpy(opt[2],"Automatic");
opt[3][0]=0;
int i=1;
int i = 2;
if(!(cfg.sys_misc & SM_AUTO_DST))
i = !(cfg.sys_timezone & DAYLIGHT);
uifc.helpbuf=
"`Daylight Saving Time (DST):`\n"
"\n"
......@@ -172,7 +174,7 @@ void sys_cfg(void)
uifc.input(WIN_MID,0,0,"Location",cfg.sys_location,sizeof(cfg.sys_location)-1,K_EDIT);
break;
case 2:
i=0;
i = !(cfg.sys_timezone & US_ZONE);
uifc.helpbuf=
"`United States Time Zone:`\n"
"\n"
......
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