start: Constify a character string.

This commit is contained in:
Frédéric Delanoy 2013-12-19 22:25:10 +01:00 committed by Alexandre Julliard
parent b87b9f04d7
commit a478c108e2

View file

@ -374,7 +374,7 @@ int wmain (int argc, WCHAR *argv[])
WCHAR *commandline; WCHAR *commandline;
STARTUPINFOW startup_info; STARTUPINFOW startup_info;
PROCESS_INFORMATION process_information; PROCESS_INFORMATION process_information;
static WCHAR commandlineformat[] = {'"','%','s','"','%','s',0}; static const WCHAR commandlineformat[] = {'"','%','s','"','%','s',0};
/* explorer on windows always quotes the filename when running a binary on windows (see bug 5224) so we have to use CreateProcessW in this case */ /* explorer on windows always quotes the filename when running a binary on windows (see bug 5224) so we have to use CreateProcessW in this case */