comctl32/tests: Initialize text buffer pointer (Valgrind).

This commit is contained in:
Nikolay Sivov 2014-04-25 11:21:05 +04:00 committed by Alexandre Julliard
parent e543eeb42b
commit 9b2ea63311
1 changed files with 1 additions and 0 deletions

View File

@ -466,6 +466,7 @@ static void test_ttm_gettoolinfo(void)
tiW.hwnd = NULL;
tiW.uId = 0x1234ABCD;
tiW.lParam = 0xaaaaaaaa;
tiW.lpszText = NULL;
r = SendMessageA(hwnd, TTM_GETTOOLINFOW, 0, (LPARAM)&tiW);
ok(r, "Getting tooltip info failed\n");
ok(0x1abe11ed == tiW.lParam ||