Commit edb396f8 authored by deuce's avatar deuce
Browse files

Add bar parameter to scrolling door settinbgs menu.

Initialize opt_dflt
parent 72ed673f
......@@ -737,12 +737,15 @@ re-initialized, set this option to ~Yes~.
void xtrn_cfg(uint section)
{
static int ext_dflt,ext_bar,opt_dflt,time_dflt;
static int ext_dflt,ext_bar,sub_bar,opt_dflt,time_dflt;
char str[128],code[9],done=0,*p;
int j,k;
uint i,n,xtrnnum[MAX_OPTS+1];
static xtrn_t savxtrn;
sub_bar=0;
opt_dflt=0;
while(1) {
for(i=0,j=0;i<cfg.total_xtrns && j<MAX_OPTS;i++)
if(cfg.xtrn[i]->sec==section) {
......@@ -917,7 +920,7 @@ online program name.
This menu is for configuring the selected online program.
*/
switch(uifc.list(WIN_SAV|WIN_ACT|WIN_MID,0,0,60,&opt_dflt,0,cfg.xtrn[i]->name
switch(uifc.list(WIN_SAV|WIN_ACT|WIN_MID,0,0,60,&opt_dflt,&sub_bar,cfg.xtrn[i]->name
,opt)) {
case -1:
done=1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment