Andrew Talbot : dxdiagn: Constify a variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 14 15:30:29 CST 2007
Module: wine
Branch: master
Commit: 7ae8d236e5190a3cf22c810ce0cca5bed0a51b20
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ae8d236e5190a3cf22c810ce0cca5bed0a51b20
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Wed Feb 14 17:05:46 2007 +0000
dxdiagn: Constify a variable.
---
dlls/dxdiagn/provider.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c
index 64425a2..260c3a7 100644
--- a/dlls/dxdiagn/provider.c
+++ b/dlls/dxdiagn/provider.c
@@ -145,7 +145,7 @@ HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, R
static HRESULT DXDiag_AddFileDescContainer(IDxDiagContainer* pSubCont, const WCHAR* szFilePath, const WCHAR* szFileName) {
HRESULT hr = S_OK;
/**/
- static WCHAR szSlashSep[] = {'\\',0};
+ static const WCHAR szSlashSep[] = {'\\',0};
static const WCHAR szPath[] = {'s','z','P','a','t','h',0};
static const WCHAR szName[] = {'s','z','N','a','m','e',0};
static const WCHAR szVersion[] = {'s','z','V','e','r','s','i','o','n',0};
More information about the wine-cvs
mailing list