Increased the size of the applicatoin name and current directory to 2K characters for Windows (KMetalMind).

This commit is contained in:
Pieter Hulshoff 2016-06-01 09:18:27 +02:00
parent 4107cd50e0
commit 2502607a04

View File

@ -137,8 +137,8 @@ bool Launcher::execute(std::string executable, std::string args, std::string cur
#ifdef WIN32
STARTUPINFO startupInfo;
PROCESS_INFORMATION processInfo;
char applicationName[256];
char currDir[256];
char applicationName[2048];
char currDir[2048];
memset(&applicationName, 0, sizeof(applicationName));
memset(&startupInfo, 0, sizeof(startupInfo));
memset(&processInfo, 0, sizeof(processInfo));