mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Windows unicode world names fix
This commit is contained in:
parent
cd4d07c6d8
commit
128dade587
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ Panel* create_main_menu_panel(Engine* engine, PagesControl* menu) {
|
|||
if (!entry.is_directory()) {
|
||||
continue;
|
||||
}
|
||||
string name = entry.path().filename().string();
|
||||
string name = entry.path().filename().u8string();
|
||||
Button* button = new Button(util::str2wstr_utf8(name),
|
||||
vec4(10.0f, 8.0f, 10.0f, 8.0f));
|
||||
button->color(vec4(1.0f, 1.0f, 1.0f, 0.1f));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue