From f202511c234a9808abd3a087e691d5f851f5080e Mon Sep 17 00:00:00 2001 From: natural-law Date: Fri, 10 Sep 2010 06:49:22 +0000 Subject: [PATCH] debug --- test_uphone/tests/IntervalTest/IntervalTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_uphone/tests/IntervalTest/IntervalTest.cpp b/test_uphone/tests/IntervalTest/IntervalTest.cpp index c4096a05e6..a250007aa9 100644 --- a/test_uphone/tests/IntervalTest/IntervalTest.cpp +++ b/test_uphone/tests/IntervalTest/IntervalTest.cpp @@ -72,7 +72,7 @@ void IntervalLayer::step1(ccTime dt) { m_time1 +=1; - char str[5] = {0}; + char str[10] = {0}; sprintf(str, "%2.1f", m_time1); m_label1->setString( str ); } @@ -81,7 +81,7 @@ void IntervalLayer::step2(ccTime dt) { m_time2 +=1; - char str[5] = {0}; + char str[10] = {0}; sprintf(str, "%2.1f", m_time2); m_label2->setString( str ); } @@ -90,7 +90,7 @@ void IntervalLayer::step3(ccTime dt) { m_time3 +=1; - char str[5] = {0}; + char str[10] = {0}; sprintf(str, "%2.1f", m_time3); m_label3->setString( str ); }