Module: wine Branch: master Commit: f42d14fdd0cdde3a3504d9f925a0305560ea9606 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f42d14fdd0cdde3a3504d9f925...
Author: Michael Stefaniuc mstefani@winehq.org Date: Wed Jul 19 02:24:04 2017 +0200
dmloader/tests: NUL terminate a wide string.
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dmloader/tests/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmloader/tests/loader.c b/dlls/dmloader/tests/loader.c index 1735994..b24b2e2 100644 --- a/dlls/dmloader/tests/loader.c +++ b/dlls/dmloader/tests/loader.c @@ -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};