diff --git a/samples/Cpp/TestCpp/Classes/ConfigurationTest/ConfigurationTest.cpp b/samples/Cpp/TestCpp/Classes/ConfigurationTest/ConfigurationTest.cpp index 5a3b3fe596..d0cdcbfb8d 100644 --- a/samples/Cpp/TestCpp/Classes/ConfigurationTest/ConfigurationTest.cpp +++ b/samples/Cpp/TestCpp/Classes/ConfigurationTest/ConfigurationTest.cpp @@ -236,9 +236,9 @@ void ConfigurationSet::onEnter() CCConfiguration *conf = CCConfiguration::sharedConfiguration(); - conf->setObject("this.is.an.int.key", CCInteger::create(10) ); - conf->setObject("this.is.a.bool.key", CCBool::create(true) ); - conf->setObject("this.is.a.string.key", CCString::create("hello world") ); + conf->setObject("this.is.an.int.value", CCInteger::create(10) ); + conf->setObject("this.is.a.bool.value", CCBool::create(true) ); + conf->setObject("this.is.a.string.value", CCString::create("hello world") ); conf->dumpInfo(); }