fixed: environment block was not passed correctly to child process, what could result in seg faults (windows only)

This commit is contained in:
Andrey Prygunkov
2009-05-16 18:46:51 +00:00
parent a5b8dfc1a3
commit 57b5afa676

View File

@@ -151,7 +151,7 @@ char* EnvironmentStrings::GetStrings()
strcpy(szPtr, szVar);
szPtr += strlen(szVar) + 1;
}
szPtr = '\0';
*szPtr = '\0';
return szStrings;
}