Fix cbSize for Windows

This commit is contained in:
def 2020-09-07 12:24:21 +02:00
parent 0aef743d7a
commit 0f051def21

View file

@ -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;