diff --git a/src/base/system.c b/src/base/system.c index 1787e30ac..79aab5386 100644 --- a/src/base/system.c +++ b/src/base/system.c @@ -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;