shlwapi/tests: fixed the wide-character tests when built on gcc compilers.

Reece Dunn msclrhd at
Wed Apr 2 18:19:44 CDT 2008

The SHCreateStreamOnFile tests were built using msvc, not mingw/gcc.
Therefore, the WCHAR string arrays were not explicitly null

This patch explicitly adds a null-terminator so that compilers that
don't null-terminate the array produce a string array that is properly
null-terminated. This is a partial split out of one of my previous
patches submitted to fix the tests on Wine.

- Reece
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shlwapi-tests-fixed-the-wide-character-tests-when-b.patch
Type: text/x-diff
Size: 1369 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list