This commit is contained in:
halx99 2020-05-11 23:00:02 +08:00
parent bc4eab96d5
commit ffaa65366e
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ void log(const char * format, ...)
}
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
__android_log_print(ANDROID_LOG_DEBUG, "cocos2d-x debug info", "%s", buffer.c_str());
__android_log_print(ANDROID_LOG_DEBUG, "cocos2d-x debug info", "%s", buf.c_str());
#elif CC_TARGET_PLATFORM == CC_PLATFORM_WIN32
buf.push_back('\n');