From 8da9130ff315dd71d64e20fd341297a07c325f8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Wed, 10 Dec 2008 10:40:39 +0000 Subject: [PATCH] Should return FALSE; not NULL git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3357 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/rfb_win32/ListViewControl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/rfb_win32/ListViewControl.cxx b/win/rfb_win32/ListViewControl.cxx index 12e04003..bd375e26 100644 --- a/win/rfb_win32/ListViewControl.cxx +++ b/win/rfb_win32/ListViewControl.cxx @@ -63,7 +63,7 @@ BOOL ListViewControl::InsertLVItem(DWORD idListView, HWND hDlg, int number, TCH lvI.pszText = texts[0]; if(ListView_InsertItem(GetDlgItem(hDlg, idListView), &lvI) == -1) - return NULL; + return FALSE; for (i =1; i < columns; i++) { SetLVItemText( -- 2.39.5