Thx harmut you did see the small bug, I miss, do not use MAX_PATH as lenght of command line, it must be CMDLINE_LENGTH instead, patch by Brandon Turner

svn path=/trunk/; revision=17250
This commit is contained in:
Magnus Olsen 2005-08-09 19:52:16 +00:00
parent f52a064741
commit 7217d69487

View file

@ -296,9 +296,9 @@ static VOID
Execute (LPTSTR Full, LPTSTR First, LPTSTR Rest)
{
TCHAR szFullName[MAX_PATH];
TCHAR first[MAX_PATH];
TCHAR rest[MAX_PATH];
TCHAR full[MAX_PATH];
TCHAR first[CMDLINE_LENGTH];
TCHAR rest[CMDLINE_LENGTH];
TCHAR full[CMDLINE_LENGTH];
#ifndef __REACTOS__
TCHAR szWindowTitle[MAX_PATH];
#endif