Dylan Smith : comctl32/tests: Add NULL terminator to unicode string constant.
Module: wine Branch: master Commit: 3952da836af47e809d1404cc5a32238b46a97b7d URL: http://source.winehq.org/git/wine.git/?a=commit;h=3952da836af47e809d1404cc5a... Author: Dylan Smith <dylan.ah.smith(a)gmail.com> Date: Wed Mar 3 02:31:29 2010 -0500 comctl32/tests: Add NULL terminator to unicode string constant. --- 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))
participants (1)
-
Alexandre Julliard