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