mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix cbSize for Windows
This commit is contained in:
parent
0aef743d7a
commit
0f051def21
|
@ -3219,6 +3219,7 @@ PROCESS shell_execute(const char *file)
|
|||
#if defined(CONF_FAMILY_WINDOWS)
|
||||
SHELLEXECUTEINFOA info;
|
||||
mem_zero(&info, sizeof(SHELLEXECUTEINFOA));
|
||||
info.cbSize = sizeof(SHELLEXECUTEINFOA);
|
||||
info.lpVerb = "open";
|
||||
info.lpFile = file;
|
||||
info.nShow = SW_SHOWDEFAULT;
|
||||
|
|
Loading…
Reference in a new issue