From abb45dbaa7673686bfc3a8f2636e2c14b936e68e Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Fri, 16 Nov 2007 08:18:07 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=83=E3=83=81=E3=83=91=E3=83=83?= =?UTF-8?q?=E3=83=89=E4=B8=8D=E5=85=B7=E5=90=88=EF=BC=88=E4=B8=80=E7=9E=AC?= =?UTF-8?q?=E8=A7=A6=E3=82=8C=E3=82=8B=E3=81=A8=E5=89=8D=E3=81=AE=E9=81=B8?= =?UTF-8?q?=E6=8A=9E=E3=81=8C=E8=BF=94=E3=81=A3=E3=81=A6=E3=81=8F=E3=82=8B?= =?UTF-8?q?=EF=BC=89=E3=81=8C=E5=AE=9F=E3=81=AF=E7=9B=B4=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@203 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/misc/src/misc.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build/systemMenu_RED/misc/src/misc.c b/build/systemMenu_RED/misc/src/misc.c index bf75e7cc..23205a49 100644 --- a/build/systemMenu_RED/misc/src/misc.c +++ b/build/systemMenu_RED/misc/src/misc.c @@ -557,7 +557,13 @@ BOOL SelectSomethingByTP( u16 *nowCsr, SelectSomethingFunc func[], int funcnum ) if( csr_old == csr ) { if( same_csr_count < TP_CSR_TOUCH_COUNT ) { same_csr_count++; - }else { + { + static int a; + a = csr_old; + a++; + } + } + if( same_csr_count == TP_CSR_TOUCH_COUNT ) { *nowCsr = csr; } return FALSE; @@ -618,7 +624,8 @@ BOOL SelectMenuByTP( u16 *nowCsr, const MenuParam *pMenu ) if( csr_old == i ) { if( same_csr_count < TP_CSR_TOUCH_COUNT ) { same_csr_count++; - }else { + } + if( same_csr_count == TP_CSR_TOUCH_COUNT ) { *nowCsr = i; } return FALSE;