wscript: Zero terminate the host version string to avoid random garbage.
String is used only once and passed to SysAllocString() which assumes a zero terminated string. Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4e3c4d6f1d
commit
7f955f289a
|
@ -33,7 +33,7 @@
|
|||
WINE_DEFAULT_DEBUG_CHANNEL(wscript);
|
||||
|
||||
#define BUILDVERSION 16535
|
||||
static const WCHAR wshVersionW[] = {'5','.','8'};
|
||||
static const WCHAR wshVersionW[] = L"5.8";
|
||||
|
||||
VARIANT_BOOL wshInteractive =
|
||||
#ifndef CSCRIPT_BUILD
|
||||
|
|
Loading…
Reference in New Issue