Commit f42d14fd authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmloader/tests: NUL terminate a wide string.

parent 0f202ac8
......@@ -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};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment