SaveTool: improve the ShellExecuteW call.

This commit is contained in:
Guillaume Jacquemin 2022-01-15 11:30:12 +01:00
parent 9a9c08391a
commit 8102d1d83a

View file

@ -748,7 +748,7 @@ void SaveTool::drawTooltip(const char* text, Float wrap_pos) {
}
void SaveTool::openUri(const std::string& uri) {
ShellExecuteW(nullptr, nullptr, Utility::Unicode::widen(uri).c_str(), nullptr, nullptr, SW_SHOW);
ShellExecuteW(nullptr, nullptr, Utility::Unicode::widen(uri).c_str(), nullptr, nullptr, SW_SHOWDEFAULT);
}
void SaveTool::checkGameState() {