From 33f788f7cbe125c863821169381ff80158796c05 Mon Sep 17 00:00:00 2001 From: Reece Dunn Date: Thu, 3 Apr 2008 00:13:28 +0100 Subject: [PATCH] shlwapi/tests: Fixed the wide-character strings. --- dlls/shlwapi/tests/istream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c index 8eac7405afa..7172e31f764 100644 --- a/dlls/shlwapi/tests/istream.c +++ b/dlls/shlwapi/tests/istream.c @@ -285,7 +285,7 @@ static void test_SHCreateStreamOnFileW(DWORD mode) IStream * stream; HRESULT ret; ULONG refcount; - static const WCHAR test_file[] = { 'c', ':', '\\', 't', 'e', 's', 't', '.', 't', 'x', 't' }; + static const WCHAR test_file[] = { 'c', ':', '\\', 't', 'e', 's', 't', '.', 't', 'x', 't', '\0' }; trace("SHCreateStreamOnFileW: testing mode %d\n", mode); @@ -382,7 +382,7 @@ static void test_SHCreateStreamOnFileEx(DWORD mode, DWORD stgm) IStream * template = NULL; HRESULT ret; ULONG refcount; - static const WCHAR test_file[] = { 'c', ':', '\\', 't', 'e', 's', 't', '.', 't', 'x', 't' }; + static const WCHAR test_file[] = { 'c', ':', '\\', 't', 'e', 's', 't', '.', 't', 'x', 't', '\0' }; trace("SHCreateStreamOnFileEx: testing mode %d, STGM flags %08x\n", mode, stgm); -- 2.11.4.GIT