Frédéric Delanoy : start: Constify a character string.
Module: wine Branch: master Commit: a478c108e2f1ff8cb76670af885a825fc0e92378 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a478c108e2f1ff8cb76670af88... Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Thu Dec 19 22:25:10 2013 +0100 start: Constify a character string. --- programs/start/start.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/start/start.c b/programs/start/start.c index f1cb26a..a27aad7 100644 --- a/programs/start/start.c +++ b/programs/start/start.c @@ -374,7 +374,7 @@ int wmain (int argc, WCHAR *argv[]) WCHAR *commandline; STARTUPINFOW startup_info; 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 */
participants (1)
-
Alexandre Julliard