setupapi: Avoid hardcoding the Unicode string literal lengths.
This commit is contained in:
parent
7b8d9e84ac
commit
9097fa132e
|
@ -978,7 +978,7 @@ static BOOL do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style,
|
|||
VS_FIXEDFILEINFO *TargetInfo;
|
||||
VS_FIXEDFILEINFO *SourceInfo;
|
||||
UINT length;
|
||||
WCHAR SubBlock[2]={'\\',0};
|
||||
static const WCHAR SubBlock[]={'\\',0};
|
||||
DWORD ret;
|
||||
|
||||
VersionSource = HeapAlloc(GetProcessHeap(),0,VersionSizeSource);
|
||||
|
|
Loading…
Reference in New Issue