dmloader/tests: NUL terminate a wide string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0f202ac84b
commit
f42d14fdd0
|
@ -47,7 +47,7 @@ static void test_directory(void)
|
|||
{
|
||||
IDirectMusicLoader8 *loader = NULL;
|
||||
HRESULT hr;
|
||||
WCHAR con[] = {'c', 'o', 'n'};
|
||||
WCHAR con[] = {'c', 'o', 'n', 0};
|
||||
WCHAR path[MAX_PATH];
|
||||
WCHAR invalid_path[] = {'/', 'i', 'n', 'v', 'a', 'l', 'i', 'd', ' ', 'p', 'a', 't', 'h', 0};
|
||||
|
||||
|
|
Loading…
Reference in New Issue