Andrew Talbot : advpack: Constify some variables.
Alexandre Julliard
julliard at winehq.org
Thu Jun 19 06:42:36 CDT 2008
Module: wine
Branch: master
Commit: 84ee90dcb547f3ecc85df6c60a92c11b97abc761
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84ee90dcb547f3ecc85df6c60a92c11b97abc761
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Jun 18 23:32:00 2008 +0100
advpack: Constify some variables.
---
dlls/advpack/files.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advpack/files.c b/dlls/advpack/files.c
index 5003239..5e9ce30 100644
--- a/dlls/advpack/files.c
+++ b/dlls/advpack/files.c
@@ -996,8 +996,8 @@ HRESULT WINAPI GetVersionFromFileExW(LPCWSTR lpszFilename, LPDWORD pdwMSVer,
BOOL bFileCopied = FALSE;
UINT uValueLen;
- static WCHAR backslash[] = {'\\',0};
- static WCHAR translation[] = {
+ static const WCHAR backslash[] = {'\\',0};
+ static const WCHAR translation[] = {
'\\','V','a','r','F','i','l','e','I','n','f','o',
'\\','T','r','a','n','s','l','a','t','i','o','n',0
};
More information about the wine-cvs
mailing list