dxdiagn: Constify a variable
Andrew Talbot
Andrew.Talbot at talbotville.com
Wed Feb 14 11:05:46 CST 2007
Changelog:
dxdiagn: Constify a variable.
diff -urN a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c
--- a/dlls/dxdiagn/provider.c 2006-10-07 17:36:58.000000000 +0100
+++ b/dlls/dxdiagn/provider.c 2007-02-14 16:32:08.000000000 +0000
@@ -145,7 +145,7 @@
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-patches
mailing list