NOW all of the buffer calls should be dead.

This commit is contained in:
Jason Felds
2015-09-19 20:06:33 -04:00
parent f112234655
commit 8512665f27
5 changed files with 73 additions and 41 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ static BOOL CALLBACK ErrorWndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
RString sCommand = "notepad \"" + sAppDataDir + PRODUCT_ID + "/Logs/log.txt\"";
CreateProcess(
NULL, // pointer to name of executable module
sCommand.GetBuffer(), // pointer to command line string
const_cast<char *>(sCommand.c_str()), // pointer to command line string
NULL, // process security attributes
NULL, // thread security attributes
false, // handle inheritance flag