mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
[ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c (#10469) (#10472)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
This commit is contained in:
@@ -100,7 +100,7 @@ ccstd::string getText(HWND hwnd) {
|
||||
GetWindowText(hwnd, str, length + 1);
|
||||
|
||||
std::wstring_convert<std::codecvt_utf8<wchar_t>> convert;
|
||||
ccstd::string ret(convert.to_bytes(str));
|
||||
ccstd::string ret(convert.to_bytes(str));
|
||||
free(str);
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user