Module: wine Branch: master Commit: 33f788f7cbe125c863821169381ff80158796c05 URL: http://source.winehq.org/git/wine.git/?a=commit;h=33f788f7cbe125c86382116938...
Author: Reece Dunn msclrhd@googlemail.com Date: Thu Apr 3 00:13:28 2008 +0100
shlwapi/tests: Fixed the wide-character strings.
---
dlls/shlwapi/tests/istream.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c index 8eac740..7172e31 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);