mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 12:42:34 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user