Module: wine Branch: master Commit: 030ea68963c2e4947f5646cba88d61f84d8cf982 URL: http://source.winehq.org/git/wine.git/?a=commit;h=030ea68963c2e4947f5646cba8...
Author: André Hentschel nerv@dawncrow.de Date: Mon Aug 29 21:10:31 2011 +0200
comctl32/tests: Fix printing a NULL string.
---
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 765992e..344df1d 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -372,7 +372,7 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP /* always accept new item text */ NMLVDISPINFO *di = (NMLVDISPINFO*)lParam; g_editbox_disp_info = *di; - trace("LVN_ENDLABELEDIT: text=%s\n", di->item.pszText); + trace("LVN_ENDLABELEDIT: text=%s\n", di->item.pszText ? di->item.pszText : "(null)");
/* edit control still available from this notification */ edit = (HWND)SendMessageA(((NMHDR*)lParam)->hwndFrom, LVM_GETEDITCONTROL, 0, 0);