Fixed issue where printing profile names prints unreadable characters (#3188)

* Fixed issue where printing profile names prints unreadable characters

* Use %S for StringLitera.

---------

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
This commit is contained in:
gamecoder-nz 2023-10-24 16:44:51 +13:00 committed by GitHub
parent e8f51dea4c
commit 66b020e939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1036,11 +1036,11 @@ namespace bgfx
{
lang = profile.lang;
bx::printf("\n");
bx::printf(" %-20s %s\n", profile.name, getName(profile.lang) );
bx::printf(" %-20S %s\n", &profile.name, getName(profile.lang) );
}
else
{
bx::printf(" %s\n", profile.name);
bx::printf(" %S\n", &profile.name);
}
}