mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-08 08:27:57 +01:00
main.cpp: Fixed compilation failure on MSYS2
This commit is contained in:
parent
a3a6aed9be
commit
d8643b2f75
@ -1754,7 +1754,7 @@ bool GMainWindow::CreateShortcutLink(const std::filesystem::path& shortcut_path,
|
||||
LOG_ERROR(Frontend, "Failed to create IShellLinkW instance");
|
||||
return false;
|
||||
}
|
||||
hres = ps1->SetPath(command.c_str());
|
||||
hres = ps1->SetPath(Common::UTF8ToUTF16W(command).data());
|
||||
if (FAILED(hres)) {
|
||||
LOG_ERROR(Frontend, "Failed to set path");
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user