From 118b22d836b06f4ea8f021bf3ff930975c8b2c53 Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Fri, 16 Nov 2007 07:07:45 +0000 Subject: [PATCH] small fix git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@200 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/misc/src/misc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/systemMenu_RED/misc/src/misc.c b/build/systemMenu_RED/misc/src/misc.c index a591b799..bf75e7cc 100644 --- a/build/systemMenu_RED/misc/src/misc.c +++ b/build/systemMenu_RED/misc/src/misc.c @@ -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 ) {