comctl32/tests: Add NULL terminator to unicode string constant.

Dylan Smith dylan.ah.smith at gmail.com
Wed Mar 3 01:31:29 CST 2010


---
 dlls/comctl32/tests/listview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index b224192..8bcd7a4 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -424,7 +424,7 @@ static BOOL register_parent_wnd_class(BOOL Unicode)
 
 static HWND create_parent_window(BOOL Unicode)
 {
-    static const WCHAR nameW[] = {'t','e','s','t','p','a','r','e','n','t','n','a','m','e','W'};
+    static const WCHAR nameW[] = {'t','e','s','t','p','a','r','e','n','t','n','a','m','e','W',0};
     HWND hwnd;
 
     if (!register_parent_wnd_class(Unicode))
-- 
1.6.3.3



More information about the wine-patches mailing list