Module: wine Branch: master Commit: 7ae8d236e5190a3cf22c810ce0cca5bed0a51b20 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7ae8d236e5190a3cf22c810ce0...
Author: Andrew Talbot Andrew.Talbot@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};