=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: start: Constify a character string.

Alexandre Julliard julliard at winehq.org
Fri Dec 20 10:45:29 CST 2013


Module: wine
Branch: master
Commit: a478c108e2f1ff8cb76670af885a825fc0e92378
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a478c108e2f1ff8cb76670af885a825fc0e92378

Author: Frédéric Delanoy <frederic.delanoy at 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 */
 




More information about the wine-cvs mailing list