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

Alexandre Julliard julliard at winehq.org
Wed Dec 18 14:27:47 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Dec 17 22:17:41 2013 +0100

scrrun: Constify a character string.

---

 dlls/scrrun/filesystem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/scrrun/filesystem.c b/dlls/scrrun/filesystem.c
index 0d360d3..0236492 100644
--- a/dlls/scrrun/filesystem.c
+++ b/dlls/scrrun/filesystem.c
@@ -1822,7 +1822,7 @@ static HRESULT WINAPI filesys_GetStandardStream(IFileSystem3 *iface,
 
 static void get_versionstring(VS_FIXEDFILEINFO *info, WCHAR *ver)
 {
-    static WCHAR fmtW[] = {'%','d','.','%','d','.','%','d','.','%','d',0};
+    static const WCHAR fmtW[] = {'%','d','.','%','d','.','%','d','.','%','d',0};
     DWORDLONG version;
     WORD a, b, c, d;
 




More information about the wine-cvs mailing list