[ci skip][AUTO]: Automated clang-format update: 771de57fc2 (#10469) (#10472)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>
This commit is contained in:
Cocos Robot
2022-03-24 13:50:39 +08:00
committed by GitHub
parent 7f4cb9e3b1
commit a2df4e4dbd
212 changed files with 1202 additions and 1204 deletions

View File

@@ -36,9 +36,9 @@ ccstd::string CommonSystem::getDeviceModel() const {
}
CommonSystem::LanguageType CommonSystem::getCurrentLanguage() const {
ccstd::string languageName = getCurrentLanguageJNI();
const char * pLanguageName = languageName.c_str();
LanguageType ret = LanguageType::ENGLISH;
ccstd::string languageName = getCurrentLanguageJNI();
const char * pLanguageName = languageName.c_str();
LanguageType ret = LanguageType::ENGLISH;
if (0 == strcmp("zh", pLanguageName)) {
ret = LanguageType::CHINESE;