mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
small fix
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@200 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
2b25a2cf25
commit
118b22d836
@ -584,7 +584,6 @@ BOOL SelectSomethingByTP( u16 *nowCsr, SelectSomethingFunc func[], int funcnum )
|
||||
BOOL SelectMenuByTP( u16 *nowCsr, const MenuParam *pMenu )
|
||||
{
|
||||
u16 i;
|
||||
TPData *target;
|
||||
static u16 detach_count = 0;
|
||||
static u16 csr_old = 0xff;
|
||||
static u16 same_csr_count = 0;
|
||||
@ -613,7 +612,7 @@ BOOL SelectMenuByTP( u16 *nowCsr, const MenuParam *pMenu )
|
||||
OS_TPrintf( "MENU[ %d ] : top_x = %02d top_y = %02d bot_x = %02d bot_y = %02d : ",
|
||||
i, top_x, top_y, bottom_x, bottom_y );
|
||||
|
||||
if( WithinRangeTP( top_x, top_y, bottom_x, bottom_y, target ) ) {
|
||||
if( WithinRangeTP( top_x, top_y, bottom_x, bottom_y, &tpd.disp ) ) {
|
||||
OS_TPrintf( "InRange\n" );
|
||||
if( tpd.disp.validity == TP_VALIDITY_VALID ) { // カーソルをその要素に移動
|
||||
if( csr_old == i ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user