diff --git a/build/debugsoft/ApplicationJump/Card-anotherID/src/main.c b/build/debugsoft/ApplicationJump/Card-anotherID/src/main.c index a75fe7d5..7db1eee4 100644 --- a/build/debugsoft/ApplicationJump/Card-anotherID/src/main.c +++ b/build/debugsoft/ApplicationJump/Card-anotherID/src/main.c @@ -76,9 +76,9 @@ void TwlMain(void) OS_TPrintf("argc = %d\n", gArgc); - for (i=0; i < gArgc && i < 6; i++) + for (i=0; i < gArgc-1 && i < 6; i++) { - STD_StrLCpy(gStrAppParam[i], (const char*)OS_GetDeliverArgv(i + 1), APPJUMP_STRING_LENGTH); + STD_StrLCpy(gStrAppParam[i], (const char*)OS_GetDeliverArgv(i+1), APPJUMP_STRING_LENGTH); gStrAppParam[i][APPJUMP_STRING_LENGTH] = '\0'; } } @@ -120,7 +120,7 @@ void TwlMain(void) PutMainScreen(0, 5, 0xff, " APP JUMP : %u times ", gAppParam.jumpCount); PutMainScreen(0, 7, 0xff, " DELIVERED PARAM (recent 6 app)"); - for (i=0; i