修正打不开keys的bug

This commit is contained in:
anod 2023-01-19 15:43:43 +08:00
parent 214e75b009
commit 2035b4e8c4

View File

@ -390,7 +390,11 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
acl_select_cheat_set( sid );
status = DISP_HOLES;
}
else status = DISP_DONE;
else if( res == ATP_NO_ACTION)
{
status = DISP_DONE;
}
else break;
}
else if( status == DISP_HOLES )
{
@ -400,9 +404,13 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
{
eid = (acl_entryid_t)item;
acl_select_entry(eid, &cnt);
res = DISP_KEYS;
status = DISP_KEYS;
}
else status = DISP_REGION;
else if( res == ATP_NO_ACTION )
{
status = DISP_REGION;
}
else break;
}
else // DISP_KEYS
{
@ -412,8 +420,13 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
char tmp[20];
ee_sprintf(tmp, "sel %08lx", item);
DEBUG(tmp);
status = DISP_HOLES;
}
status = DISP_HOLES;
else if( res == ATP_NO_ACTION )
{
status = DISP_HOLES;
}
else break;
}
}